mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	Update universe.json
updated sayswho entry
This commit is contained in:
		
							parent
							
								
									37ac408db6
								
							
						
					
					
						commit
						e96e1d253d
					
				| 
						 | 
					@ -20,16 +20,28 @@
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
            "id": "sayswho",
 | 
					            "id": "sayswho",
 | 
				
			||||||
            "title": "SaysWho",
 | 
					            "title": "SaysWho",
 | 
				
			||||||
            "slogan": "Quote identification, attribution and resolution.",
 | 
					            "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.",
 | 
					            "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",
 | 
					            "github": "afriedman412/sayswho",
 | 
				
			||||||
            "pip": "sayswho",
 | 
					            "pip": "sayswho",
 | 
				
			||||||
            "code_language": "python",
 | 
					            "code_language": "python",
 | 
				
			||||||
            "author": "Andy Friedman",
 | 
					            "author": "Andy Friedman",
 | 
				
			||||||
            "author_links": {
 | 
					            "author_links": {
 | 
				
			||||||
                "twitter": "steadynappin",
 | 
					                "twitter": "@steadynappin",
 | 
				
			||||||
                "github": "afriedman412"
 | 
					                "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"],
 | 
					            "category": ["standalone"],
 | 
				
			||||||
            "tags": ["attribution", "coref", "text-processing"]
 | 
					            "tags": ["attribution", "coref", "text-processing"]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user