MultiNGram¶
-
class
MultiNGram.MultiNGram(inputCol=None, lengths=None, outputCol=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin,pyspark.ml.util.JavaMLReadable,pyspark.ml.util.JavaMLWritable,pyspark.ml.wrapper.JavaTransformerParameters: -
getLengths()[source]¶ Returns: the collection of lengths to use for ngram extraction Return type: object
-
getOutputCol()[source]¶ Returns: The name of the output column (default: [self.uid]_output) Return type: str
-
setLengths(value)[source]¶ Parameters: lengths (object) – the collection of lengths to use for ngram extraction
-
setOutputCol(value)[source]¶ Parameters: outputCol (str) – The name of the output column (default: [self.uid]_output)
-