Class DetokenizationDictionary


  • public class DetokenizationDictionary
    extends java.lang.Object
    • Constructor Detail

      • DetokenizationDictionary

        public DetokenizationDictionary​(java.lang.String[] tokens,
                                        DetokenizationDictionary.Operation[] operations)
        Initializes the current instance.
        Parameters:
        tokens - an array of tokens that should be detokenized according to an operation
        operations - an array of operations which specifies which operation should be used for the provided tokens
      • DetokenizationDictionary

        public DetokenizationDictionary​(java.io.InputStream in)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • DetokenizationDictionary

        public DetokenizationDictionary​(java.io.File file)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • serialize

        public void serialize​(java.io.OutputStream out)
                       throws java.io.IOException
        Throws:
        java.io.IOException