Add strings to Vocab in init, instead of StringStore

This commit is contained in:
ines 2017-06-02 10:57:06 +02:00
parent 023f38bdd4
commit 53b82f972a

View File

@ -56,7 +56,7 @@ cdef class Vocab:
self.strings = StringStore()
if strings:
for string in strings:
self.strings.add(string)
_ = self[string]
for name in tag_map.keys():
if name:
self.strings.add(name)