Skip to content

Commit

Permalink
unsupport spacy-udpipe
Browse files Browse the repository at this point in the history
  • Loading branch information
KoichiYasuoka committed Aug 7, 2024
1 parent adbe194 commit a57b6d0
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 170 deletions.
23 changes: 0 additions & 23 deletions doc/be.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,29 +115,6 @@
"# import graphviz\n",
"# graphviz.Source(deplacy.dot(doc))"
]
},
{
"cell_type":"markdown",
"metadata":{ "colab_type":"text" },
"source":[
"## з [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)\n"
]
},
{
"cell_type":"code",
"metadata":{ "colab_type":"code" },
"source":[
"!pip install deplacy spacy-udpipe\n",
"import spacy_udpipe\n",
"spacy_udpipe.download(\"be\")\n",
"nlp=spacy_udpipe.load(\"be\")\n",
"doc=nlp(\"Тэлебачанне стварае міфы, міфы тых, у чыіх руках тэлебачанне.\")\n",
"import deplacy\n",
"deplacy.render(doc)\n",
"deplacy.serve(doc,port=None)\n",
"# import graphviz\n",
"# graphviz.Source(deplacy.dot(doc))"
]
}
]
}
22 changes: 0 additions & 22 deletions doc/be.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,25 +91,3 @@
. PUNCT <════════════════════╝ punct
```

## з [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)

```py
>>> import spacy_udpipe
>>> nlp=spacy_udpipe.load("be")
>>> doc=nlp("Тэлебачанне стварае міфы, міфы тых, у чыіх руках тэлебачанне.")
>>> import deplacy
>>> deplacy.render(doc)
Тэлебачанне NOUN <══╗ nsubj
стварае VERB ═╗═╝═══════════╗═╗ ROOT
міфы NOUN <╝ ║ ║ obj
, PUNCT <════════════╗ ║ ║ punct
міфы NOUN ═══════════╗═╝<╝ ║ conj
тых DET <══════╗ ║ ║ det
, PUNCT <══════║═╗ ║ ║ punct
у ADP <════╗ ║ ║ ║ ║ case
чыіх NUM <╗ ║ ║ ║ ║ ║ nummod:gov
руках NOUN ═╝═╗═╝═╝═╝<╝ ║ nmod
тэлебачанне NOUN <══╝ ║ nmod
. PUNCT <════════════════╝ punct
```

23 changes: 0 additions & 23 deletions doc/gd.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,6 @@
"# graphviz.Source(deplacy.dot(doc))"
]
},
{
"cell_type":"markdown",
"metadata":{ "colab_type":"text" },
"source":[
"## le [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)\n"
]
},
{
"cell_type":"code",
"metadata":{ "colab_type":"code" },
"source":[
"!pip install deplacy spacy-udpipe\n",
"import spacy_udpipe\n",
"spacy_udpipe.download(\"gd\")\n",
"nlp=spacy_udpipe.load(\"gd\")\n",
"doc=nlp(\"Innsidh na geòidh as t-fhoghar e.\")\n",
"import deplacy\n",
"deplacy.render(doc)\n",
"deplacy.serve(doc,port=None)\n",
"# import graphviz\n",
"# graphviz.Source(deplacy.dot(doc))"
]
},
{
"cell_type":"markdown",
"metadata":{ "colab_type":"text" },
Expand Down
17 changes: 0 additions & 17 deletions doc/gd.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,6 @@ e PRON <╝ ║ nsubj
. PUNCT <══════╝ punct
```

## le [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)

```py
>>> import spacy_udpipe
>>> nlp=spacy_udpipe.load("gd")
>>> doc=nlp("Innsidh na geòidh as t-fhoghar e.")
>>> import deplacy
>>> deplacy.render(doc)
Innsidh VERB ═══╗═╗═╗ ROOT
na DET <╗ ║ ║ ║ det
geòidh NOUN ═╝<╝ ║ ║ nsubj
as ADP <══╗ ║ ║ case
t-fhoghar VERB ═╗═╝<╝ ║ ccomp
e PRON <╝ ║ nsubj
. PUNCT <══════╝ punct
```

## le [Trankit](https://github.com/nlp-uoregon/trankit)

```py
Expand Down
23 changes: 0 additions & 23 deletions doc/gl.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,29 +94,6 @@
"# graphviz.Source(deplacy.dot(doc))"
]
},
{
"cell_type":"markdown",
"metadata":{ "colab_type":"text" },
"source":[
"## con [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)\n"
]
},
{
"cell_type":"code",
"metadata":{ "colab_type":"code" },
"source":[
"!pip install deplacy spacy-udpipe\n",
"import spacy_udpipe\n",
"spacy_udpipe.download(\"gl\")\n",
"nlp=spacy_udpipe.load(\"gl\")\n",
"doc=nlp(\"Cando hai fame non hai pan duro.\")\n",
"import deplacy\n",
"deplacy.render(doc)\n",
"deplacy.serve(doc,port=None)\n",
"# import graphviz\n",
"# graphviz.Source(deplacy.dot(doc))"
]
},
{
"cell_type":"markdown",
"metadata":{ "colab_type":"text" },
Expand Down
18 changes: 0 additions & 18 deletions doc/gl.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,6 @@ duro ADJ <╝ ║ amod
. PUNCT <══════╝ punct
```

## con [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)

```py
>>> import spacy_udpipe
>>> nlp=spacy_udpipe.load("gl")
>>> doc=nlp("Cando hai fame non hai pan duro.")
>>> import deplacy
>>> deplacy.render(doc)
Cando PRON <══════════╗ nsubj
hai VERB <════════╗ ║ aux
fame VERB ═══════╗═╝═╝═╗ ROOT
non PART <════╗ ║ ║ advmod
hai VERB ═══╗═╝<╝ ║ obj
pan NOUN ═╗<╝ ║ obj
duro ADJ <╝ ║ amod
. PUNCT <════════════╝ punct
```

## con [Trankit](https://github.com/nlp-uoregon/trankit)

```py
Expand Down
23 changes: 0 additions & 23 deletions doc/mt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,6 @@
"# graphviz.Source(deplacy.dot(doc))"
]
},
{
"cell_type":"markdown",
"metadata":{ "colab_type":"text" },
"source":[
"## minn [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)\n"
]
},
{
"cell_type":"code",
"metadata":{ "colab_type":"code" },
"source":[
"!pip install deplacy spacy-udpipe\n",
"import spacy_udpipe\n",
"spacy_udpipe.download(\"mt\")\n",
"nlp=spacy_udpipe.load(\"mt\")\n",
"doc=nlp(\"Alla ħares ma kienx Majsi illi jagħmel ftit tad-dija.\")\n",
"import deplacy\n",
"deplacy.render(doc)\n",
"deplacy.serve(doc,port=None)\n",
"# import graphviz\n",
"# graphviz.Source(deplacy.dot(doc))"
]
},
{
"cell_type":"markdown",
"metadata":{ "colab_type":"text" },
Expand Down
21 changes: 0 additions & 21 deletions doc/mt.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,6 @@ dija NOUN ═╝<╝ ║ nmod:poss
. PUNCT <══════════════════╝ punct
```

## minn [spacy-udpipe](https://github.com/TakeLab/spacy-udpipe)

```py
>>> import spacy_udpipe
>>> nlp=spacy_udpipe.load("mt")
>>> doc=nlp("Alla ħares ma kienx Majsi illi jagħmel ftit tad-dija.")
>>> import deplacy
>>> deplacy.render(doc)
Alla PROPN <════════════╗ nsubj
ħares VERB ═══════════╗═╝═╗ ROOT
ma PART <══╗ ║ ║ advmod:neg
kienx AUX <╗ ║ ║ ║ cop
Majsi ADJ ═╝═╝═════╗<╝ ║ xcomp
illi VERB ═══════╗<╝ ║ parataxis
jagħmel VERB ═════╗<╝ ║ xcomp
ftit DET ═══╗<╝ ║ obj
tad- ADP <╗ ║ ║ case:det
dija NOUN ═╝<╝ ║ nmod:poss
. PUNCT <══════════════╝ punct
```

## minn [Camphr-Udify](https://camphr.readthedocs.io/en/stable/notes/udify.html)

```py
Expand Down

0 comments on commit a57b6d0

Please sign in to comment.