mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Fix conllu converter
This commit is contained in:
		
							parent
							
								
									8f9f48b04c
								
							
						
					
					
						commit
						af93997993
					
				| 
						 | 
				
			
			@ -6,7 +6,7 @@ import re
 | 
			
		|||
from ...gold import iob_to_biluo
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def conllu2json(input_data, n_sents=10, use_morphology=False, lang=None):
 | 
			
		||||
def conllu2json(input_data, n_sents=10, use_morphology=False, lang=None, **_):
 | 
			
		||||
    """
 | 
			
		||||
    Convert conllu files into JSON format for use with train cli.
 | 
			
		||||
    use_morphology parameter enables appending morphology to tags, which is
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user