factor out vector definitions
incorporate nltk bindings