mirror of https://github.com/explosion/spaCy.git
* Remove upper_pc from lexeme.pyx
This commit is contained in:
parent
a14f9eaf63
commit
75b8dfb348
|
@ -22,8 +22,7 @@ cpdef Lexeme init(id_t i, unicode string, hash_t hashed,
|
||||||
lex.sense_type = props.get('sense_type', 0)
|
lex.sense_type = props.get('sense_type', 0)
|
||||||
lex.prob = props.get('prob', 0)
|
lex.prob = props.get('prob', 0)
|
||||||
|
|
||||||
lex.upper_pc = props.get('upper_pc', 0.0)
|
lex.lower_pc = props.get('lower_pc', 0.0)
|
||||||
lex.title_pc = props.get('lower_pc', 0.0)
|
|
||||||
|
|
||||||
lex.prefix = string_store[string[:1]]
|
lex.prefix = string_store[string[:1]]
|
||||||
lex.suffix = string_store[string[-3:]]
|
lex.suffix = string_store[string[-3:]]
|
||||||
|
|
Loading…
Reference in New Issue