mirror of
				https://github.com/qurator-spk/sbb_ner.git
				synced 2025-10-30 00:54:13 +01:00 
			
		
		
		
	Improve doc
This commit is contained in:
		
							parent
							
								
									53824bf904
								
							
						
					
					
						commit
						e74c9f0793
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -268,7 +268,7 @@ def ner(model_id=None): | |||
|             else: | ||||
|                 token = token[2:] if token.startswith('##') else token | ||||
| 
 | ||||
|             # if the output_text plus the current word and token is not a prefix of the original text, it means, | ||||
|             # if the output_text plus the current word and token is not a prefix of the original text, it means, that | ||||
|             # we would miss characters. Therefore we take the missing characters from the original text at the current | ||||
|             # word position | ||||
|             while not original_text.startswith(output_text + word + token) \ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue