fix unknown word model

- test for passing unknown word threshold now done once
- word classes are now called signatures, to avoid confusion with open
  class words.