mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 08:12:24 +03:00
Update universe.json
This commit is contained in:
parent
0340ee2598
commit
5f15cb4463
|
@ -31,16 +31,13 @@
|
||||||
"github": "afriedman412"
|
"github": "afriedman412"
|
||||||
},
|
},
|
||||||
"code_example": [
|
"code_example": [
|
||||||
```
|
"from sayswho import SaysWho",
|
||||||
from sayswho import SaysWho
|
"text = open(\"path/to/your/text_file.txt\").read()",
|
||||||
|
"sw = SaysWho()",
|
||||||
text = open("path/to/your/text_file.txt").read()
|
"sw.attribute(text)",
|
||||||
sw = SaysWho()
|
|
||||||
sw.attribute(text)
|
"sw.expand_match() # see quote/cluster matches",
|
||||||
|
"sw.render_to_html() # output your text, quotes and cluster matches to an html file called \"temp.html\""
|
||||||
sw.expand_match() # see quote/cluster matches
|
|
||||||
sw.render_to_html() # output your text, quotes and cluster matches to an html file called "temp.html"
|
|
||||||
```
|
|
||||||
],
|
],
|
||||||
"category": ["standalone"],
|
"category": ["standalone"],
|
||||||
"tags": ["attribution", "coref", "text-processing"]
|
"tags": ["attribution", "coref", "text-processing"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user