C# Класс Microsoft.ML.Probabilistic.Distributions.Automata.RegexpAutomatonFormat

Converts a given automaton to a regular expression (or a regular expression-like string) corresponding to the support of the automaton.
Наследование: IAutomatonFormat
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConvertToString ( Microsoft.ML.Probabilistic.Distributions.Automata.Automaton automaton ) : string

Converts a given automaton to a regular expression corresponding to the support of the function.

Escape ( string rawString ) : string

Escapes a raw string, such that potential special characters can be represented in a way that the target can handle.

RegexpAutomatonFormat ( Microsoft.ML.Probabilistic.Distributions.Automata.RegexpFormattingSettings formattingSettings ) : System.Collections.Generic

Initializes a new instance of the RegexpAutomatonFormat class.

Описание методов

ConvertToString() публичный Метод

Converts a given automaton to a regular expression corresponding to the support of the function.
public ConvertToString ( Microsoft.ML.Probabilistic.Distributions.Automata.Automaton automaton ) : string
automaton Microsoft.ML.Probabilistic.Distributions.Automata.Automaton The automaton to convert to a string.
Результат string

Escape() публичный Метод

Escapes a raw string, such that potential special characters can be represented in a way that the target can handle.
public Escape ( string rawString ) : string
rawString string Raw generated string.
Результат string

RegexpAutomatonFormat() публичный Метод

Initializes a new instance of the RegexpAutomatonFormat class.
public RegexpAutomatonFormat ( Microsoft.ML.Probabilistic.Distributions.Automata.RegexpFormattingSettings formattingSettings ) : System.Collections.Generic
formattingSettings Microsoft.ML.Probabilistic.Distributions.Automata.RegexpFormattingSettings The formatting settings used for conversion from an automaton to a string.
Результат System.Collections.Generic