TextPreprocessor implements TextPreprocessor
More...
◆ TextPreprocessor() [1/2]
Synapse.ML.Stages.TextPreprocessor.TextPreprocessor |
( |
| ) |
|
|
inline |
◆ TextPreprocessor() [2/2]
Synapse.ML.Stages.TextPreprocessor.TextPreprocessor |
( |
string |
uid | ) |
|
|
inline |
Creates a TextPreprocessor with a UID that is used to give the TextPreprocessor a unique ID.
- Parameters
-
uid | An immutable unique ID for the object and its derivatives. |
◆ GetInputCol()
string Synapse.ML.Stages.TextPreprocessor.GetInputCol |
( |
| ) |
|
Gets inputCol value
- Returns
- inputCol: The name of the input column
◆ GetMap()
Dictionary<string, string> Synapse.ML.Stages.TextPreprocessor.GetMap |
( |
| ) |
|
|
inline |
Gets map value
- Returns
- map: Map of substring match to replacement
◆ GetNormFunc()
string Synapse.ML.Stages.TextPreprocessor.GetNormFunc |
( |
| ) |
|
Gets normFunc value
- Returns
- normFunc: Name of normalization function to apply
◆ GetOutputCol()
string Synapse.ML.Stages.TextPreprocessor.GetOutputCol |
( |
| ) |
|
Gets outputCol value
- Returns
- outputCol: The name of the output column
◆ Load()
◆ Read()
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<TextPreprocessor> instance for this ML instance.
◆ Save()
void Synapse.ML.Stages.TextPreprocessor.Save |
( |
string |
path | ) |
|
Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.
- Parameters
-
path | The path to save the object to |
◆ SetInputCol()
Sets value for inputCol
- Parameters
-
value | The name of the input column |
- Returns
- New TextPreprocessor object
◆ SetMap()
TextPreprocessor Synapse.ML.Stages.TextPreprocessor.SetMap |
( |
Dictionary< string, string > |
value | ) |
|
Sets value for map
- Parameters
-
value | Map of substring match to replacement |
- Returns
- New TextPreprocessor object
◆ SetNormFunc()
Sets value for normFunc
- Parameters
-
value | Name of normalization function to apply |
- Returns
- New TextPreprocessor object
◆ SetOutputCol()
TextPreprocessor Synapse.ML.Stages.TextPreprocessor.SetOutputCol |
( |
string |
value | ) |
|
Sets value for outputCol
- Parameters
-
value | The name of the output column |
- Returns
- New TextPreprocessor object
The documentation for this class was generated from the following file:
- synapse/ml/stages/TextPreprocessor.cs