mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 08:12:24 +03:00
* Fix lower attribute in lexeme.pxd
This commit is contained in:
parent
3ecacb9635
commit
c263577424
|
@ -87,7 +87,7 @@ cdef inline attr_t get_attr(const LexemeC* lex, attr_id_t feat_name) nogil:
|
||||||
elif feat_name == ORTH:
|
elif feat_name == ORTH:
|
||||||
return lex.orth
|
return lex.orth
|
||||||
elif feat_name == LOWER:
|
elif feat_name == LOWER:
|
||||||
return lex.norm
|
return lex.lower
|
||||||
elif feat_name == NORM:
|
elif feat_name == NORM:
|
||||||
return lex.norm
|
return lex.norm
|
||||||
elif feat_name == SHAPE:
|
elif feat_name == SHAPE:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user