vrasneur/pyfasttext

Vectorizer access `model['dog']` raises exception. Pull request for fix.

yaakov2 opened this issue · 1 comments

The import statement from array import array is incompatible with the line arr = array.array('f') in getitem().
This caused all lookups model[key] to raise exceptions.

This pull request fixes the problem:

#2

Your pull request is merged. Thanks!