Class TokenizerPreNgram

    • Constructor Detail

      • TokenizerPreNgram

        public TokenizerPreNgram​(List<Integer> idCols,
                                 int tokenizeCol,
                                 org.apache.wink.json4j.JSONObject params)
                          throws org.apache.wink.json4j.JSONException
        Throws:
        org.apache.wink.json4j.JSONException
    • Method Detail

      • wordTokenToNgrams

        public List<org.apache.sysds.runtime.transform.tokenize.Tokenizer.Token> wordTokenToNgrams​(org.apache.sysds.runtime.transform.tokenize.Tokenizer.Token wordTokens)
      • wordTokenListToNgrams

        public List<org.apache.sysds.runtime.transform.tokenize.Tokenizer.Token> wordTokenListToNgrams​(List<org.apache.sysds.runtime.transform.tokenize.Tokenizer.Token> wordTokens)