mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	Add SpikeX to spaCy universe
This commit is contained in:
		
							parent
							
								
									61472e7cb3
								
							
						
					
					
						commit
						00e59be966
					
				|  | @ -1,5 +1,36 @@ | |||
| { | ||||
|     "resources": [ | ||||
|         { | ||||
|             "id": "spikex", | ||||
|             "title": "SpikeX - SpaCy Pipes for Knowledge Extraction", | ||||
|             "slogan": "Use SpikeX to build knowledge extraction tools with almost-zero effort", | ||||
|             "description": "SpikeX is a collection of pipes ready to be plugged in a spaCy pipeline. It aims to help in building knowledge extraction tools with almost-zero effort.", | ||||
|             "github": "erre-quadro/spikex", | ||||
|             "pip": "spikex", | ||||
|             "code_example": [ | ||||
|                 "from spacy import load as spacy_load", | ||||
|                 "from spikex.wikigraph import load as wg_load", | ||||
|                 "from spikex.pipes import WikiPageX", | ||||
|                 "", | ||||
|                 "# load a spacy model and get a doc", | ||||
|                 "nlp = spacy_load('en_core_web_sm')", | ||||
|                 "doc = nlp('An apple a day keeps the doctor away')", | ||||
|                 "# load a WikiGraph", | ||||
|                 "wg = wg_load('simplewiki_core')", | ||||
|                 "# get a WikiPageX and extract all pages", | ||||
|                 "wikipagex = WikiPageX(wg)", | ||||
|                 "doc = wikipagex(doc)", | ||||
|                 "# see all pages extracted from the doc", | ||||
|                 "for span in doc._.wiki_spans:", | ||||
|                 "   print(span._.wiki_pages)" | ||||
|             ], | ||||
|             "category": ["pipeline", "standalone"], | ||||
|             "author": "Erre Quadro", | ||||
|             "author_links": { | ||||
|                 "github": "erre-quadro", | ||||
|                 "website": "https://www.errequadrosrl.com" | ||||
|             } | ||||
|         }, | ||||
|         { | ||||
|             "id": "spacy-dbpedia-spotlight", | ||||
|             "title": "DBpedia Spotlight for SpaCy", | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user