mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	Merge branch 'master' of https://github.com/explosion/spaCy
This commit is contained in:
		
						commit
						f799a07f25
					
				| 
						 | 
					@ -114,10 +114,10 @@ def intify_attrs(stringy_attrs, strings_map=None, _do_deprecated=False):
 | 
				
			||||||
            stringy_attrs["LEMMA"] = stringy_attrs.pop("L")
 | 
					            stringy_attrs["LEMMA"] = stringy_attrs.pop("L")
 | 
				
			||||||
        if 'pos' in stringy_attrs:
 | 
					        if 'pos' in stringy_attrs:
 | 
				
			||||||
            stringy_attrs["TAG"] = stringy_attrs.pop("pos")
 | 
					            stringy_attrs["TAG"] = stringy_attrs.pop("pos")
 | 
				
			||||||
        if 'morph' in stringy_attrs:
 | 
					        #if 'morph' in stringy_attrs:
 | 
				
			||||||
            morphs = stringy_attrs.pop('morph')
 | 
					        #    morphs = stringy_attrs.pop('morph')
 | 
				
			||||||
            for name, value in morphs.items():
 | 
					        #    for name, value in morphs.items():
 | 
				
			||||||
                stringy_attrs[name] = value
 | 
					        #        stringy_attrs[name] = value
 | 
				
			||||||
    for name, value in stringy_attrs.items():
 | 
					    for name, value in stringy_attrs.items():
 | 
				
			||||||
        if isinstance(name, int):
 | 
					        if isinstance(name, int):
 | 
				
			||||||
            int_key = name
 | 
					            int_key = name
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user