mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 01:21:58 +03:00
Update universe.json
updated sayswho entry
This commit is contained in:
parent
37ac408db6
commit
e96e1d253d
|
@ -20,16 +20,28 @@
|
|||
{
|
||||
"id": "sayswho",
|
||||
"title": "SaysWho",
|
||||
"slogan": "Quote identification, attribution and resolution.",
|
||||
"description": "A Python package for identifying and attributing quotes in text. It uses a combination of logic and grammer to find quotes and their speakers, then uses a coreferencing model to better clarify who is speaking.",
|
||||
"slogan": "Quote identification, attribution and resolution",
|
||||
"description": "A Python package for identifying and attributing quotes in text. It uses a combination of SpaCy functionality, logic and grammar to find quotes and their speakers, then uses the SpaCy coreferencing model to better clarify who is speaking. Currently English only.",
|
||||
"github": "afriedman412/sayswho",
|
||||
"pip": "sayswho",
|
||||
"code_language": "python",
|
||||
"author": "Andy Friedman",
|
||||
"author_links": {
|
||||
"twitter": "steadynappin",
|
||||
"twitter": "@steadynappin",
|
||||
"github": "afriedman412"
|
||||
},
|
||||
"code_example": [
|
||||
```
|
||||
from sayswho import SaysWho
|
||||
|
||||
text = open("path/to/your/text_file.txt").read()
|
||||
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"
|
||||
```
|
||||
],
|
||||
"category": ["standalone"],
|
||||
"tags": ["attribution", "coref", "text-processing"]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user