mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	correct typo in universe.json for 'code_example' key : pipe name 'entityfishing'
This commit is contained in:
		
							parent
							
								
									cdad815c68
								
							
						
					
					
						commit
						2820d7dd8d
					
				|  | @ -11,7 +11,7 @@ | |||
|                 "import spacy", | ||||
|                 "text = 'Victor Hugo and Honoré de Balzac are French writers who lived in Paris.'", | ||||
|                 "nlp = spacy.load('en_core_web_sm')", | ||||
|                 "nlp.add_pipe('spacyfishing')", | ||||
|                 "nlp.add_pipe('entityfishing')", | ||||
|                 "doc = nlp(text)", | ||||
|                 "for span in doc.ents:", | ||||
|                 "    print((ent.text, ent.label_, ent._.kb_qid, ent._.url_wikidata, ent._.nerd_score))", | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user