configuring for NIPS. Added ability to specify vocabulary.