mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Update spacy/kb/candidate.py
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									8dbb74c9c0
								
							
						
					
					
						commit
						082992aebb
					
				|  | @ -82,7 +82,7 @@ class InMemoryCandidate(Candidate): | |||
|     ): | ||||
|         """ | ||||
|         hash_to_str (Callable[[int], str]): Callable retrieving entity name from provided entity/vocab hash. | ||||
|         entity_id (str): Entity ID as hash that can be looked up with InMemoryKB.vocab.strings.__getitem__(). | ||||
|         entity_id (int): Entity ID as hash that can be looked up with InMemoryKB.vocab.strings.__getitem__(). | ||||
|         entity_freq (int): Entity frequency in KB corpus. | ||||
|         entity_vector (List[float]): Entity embedding. | ||||
|         mention (str): Mention. | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user