Update universe.json

This commit is contained in:
Andy Friedman 2023-07-24 16:12:42 -04:00 committed by GitHub
parent 0340ee2598
commit 5f15cb4463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,16 +31,13 @@
"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"
```
"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"]