Type alias CreateSegmentationAnalyzerOptions

CreateSegmentationAnalyzerOptions: {
    features?: AnalyzerFeature[];
    properties: {
        break?: "all" | "alpha" | "graphic";
        case?: "lower" | "upper" | "none";
    };
    type: "segmentation";
}

Options for creating a Segmentation Analyzer

Type declaration

  • Optional features?: AnalyzerFeature[]

    Features to enable for this Analyzer.

  • properties: {
        break?: "all" | "alpha" | "graphic";
        case?: "lower" | "upper" | "none";
    }

    Additional properties for the Analyzer.

    • Optional break?: "all" | "alpha" | "graphic"

      Which tokens should be returned.

      Default: "alpha"

    • Optional case?: "lower" | "upper" | "none"

      What case all returned tokens should be converted to if applicable.

      Default: "none"

  • type: "segmentation"

    Type of the Analyzer.