Class UnknownDictionary

java.lang.Object
org.apache.lucene.analysis.ja.dict.BinaryDictionary
org.apache.lucene.analysis.ja.dict.UnknownDictionary
All Implemented Interfaces:
Dictionary

public final class UnknownDictionary extends BinaryDictionary
Dictionary for unknown-word handling.
  • Field Details

  • Constructor Details

    • UnknownDictionary

      public UnknownDictionary(BinaryDictionary.ResourceScheme scheme, String path) throws IOException
      Parameters:
      scheme - scheme for loading resources (FILE or CLASSPATH).
      path - where to load resources from; a path, including the file base name without extension; this is used to match multiple files with the same base name.
      Throws:
      IOException
    • UnknownDictionary

      private UnknownDictionary() throws IOException
      Throws:
      IOException
  • Method Details