Class UnknownDictionary

  • All Implemented Interfaces:
    Dictionary

    public final class UnknownDictionary
    extends BinaryDictionary
    Dictionary for unknown-word handling.
    • Constructor Detail

      • UnknownDictionary

        public UnknownDictionary​(Path targetMapFile,
                                 Path posDictFile,
                                 Path dictFile)
                          throws IOException
        Create a UnknownDictionary from an external resource path.
        Parameters:
        targetMapFile - where to load target map resource
        posDictFile - where to load POS dictionary resource
        dictFile - where to load dictionary entries resource
        Throws:
        IOException - if resource was not found or broken