Contents

init(labeledData:textColumn:labelColumn:parameters:)

Creates a gazetteer from a table of labels and terms.

Declaration

init(labeledData: MLDataTable, textColumn: String, labelColumn: String, parameters: MLGazetteer.ModelParameters = ModelParameters()) throws

Parameters

  • labeledData:

    A table of labels and terms.

  • textColumn:

    The name of the column containing the terms.

  • labelColumn:

    The name of the column containing the labels.

  • parameters:

    The model parameters.

See Also

Creating a gazetteer