Class POSTaggerFactory


  • public class POSTaggerFactory
    extends BaseToolFactory
    The factory that provides POS Tagger default implementations and resources
    • Constructor Detail

      • POSTaggerFactory

        public POSTaggerFactory()
        Creates a POSTaggerFactory that provides the default implementation of the resources.
      • POSTaggerFactory

        @Deprecated
        public POSTaggerFactory​(Dictionary ngramDictionary,
                                TagDictionary posDictionary)
        Deprecated.
        this constructor is here for backward compatibility and is not functional anymore in the training of 1.8.x series models
        Creates a POSTaggerFactory. Use this constructor to programmatically create a factory.
        Parameters:
        ngramDictionary -
        posDictionary -
      • POSTaggerFactory

        public POSTaggerFactory​(byte[] featureGeneratorBytes,
                                java.util.Map<java.lang.String,​java.lang.Object> resources,
                                TagDictionary posDictionary)