mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	* Fix bug in prefix, suffix and word shape features in parser and NER
This commit is contained in:
		
							parent
							
								
									a6ac92f077
								
							
						
					
					
						commit
						99c9ecfc18
					
				| 
						 | 
					@ -29,6 +29,9 @@ cdef inline void fill_token(atom_t* context, const TokenC* token) nogil:
 | 
				
			||||||
        context[4] = 0
 | 
					        context[4] = 0
 | 
				
			||||||
        context[5] = 0
 | 
					        context[5] = 0
 | 
				
			||||||
        context[6] = 0
 | 
					        context[6] = 0
 | 
				
			||||||
 | 
					        context[7] = 0
 | 
				
			||||||
 | 
					        context[8] = 0
 | 
				
			||||||
 | 
					        context[9] = 0
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
        context[0] = token.lex.orth
 | 
					        context[0] = token.lex.orth
 | 
				
			||||||
        context[1] = token.lemma
 | 
					        context[1] = token.lemma
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user