mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-02 18:06:46 +03:00
Fix printing of fused tokens
This commit is contained in:
parent
1113a16cd4
commit
7f832f1b88
|
@ -249,6 +249,9 @@ def _get_token_conllu(token, k, sent_len):
|
|||
fields[1] = token.norm_[0].upper() + token.norm_[1:]
|
||||
else:
|
||||
fields[1] = token.norm_
|
||||
elif token.check_morph(Fused_inside):
|
||||
fields[1] = token.norm_
|
||||
|
||||
lines.append('\t'.join(fields))
|
||||
return '\n'.join(lines)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user