Remove old 'SP' condition in tag map

This commit is contained in:
ines 2017-10-26 16:11:57 +02:00
parent 421c3837e8
commit 9e372913e0
1 changed files with 0 additions and 2 deletions

View File

@ -420,8 +420,6 @@ class NeuralTagger(BaseThincComponent):
new_tag_map[tag] = orig_tag_map[tag]
else:
new_tag_map[tag] = {POS: X}
if 'SP' not in new_tag_map:
new_tag_map['SP'] = orig_tag_map.get('SP', {POS: X})
cdef Vocab vocab = self.vocab
if new_tag_map:
vocab.morphology = Morphology(vocab.strings, new_tag_map,