diff --git a/website/meta/universe.json b/website/meta/universe.json index fdbbff229..22c8c3646 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -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"] },