C# Класс ABB.Swum.ExternalProcessTagger

A part-of-speech tagger
Показать файл Открыть проект

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

Метод Описание
ExternalProcessTagger ( ) : System

Creates a new ExternalProcessTagger with the default program path and arguments.

ExternalProcessTagger ( string programFileName, string programArguments ) : System

Creates a new ExternalProcessTagger with the specified program path and arguments.

Tag ( ICollection words ) : List>.Dictionary

Calls an external part-of-speech tagger and runs it on each of the supplied words. Note that each call of this method creates (and cleans up) a separate process running the POS tagger. For performance reasons, it is better to tag words in large batches, rather than small, frequent batches.

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

ExternalProcessTagger() публичный метод

Creates a new ExternalProcessTagger with the default program path and arguments.
public ExternalProcessTagger ( ) : System
Результат System

ExternalProcessTagger() публичный метод

Creates a new ExternalProcessTagger with the specified program path and arguments.
public ExternalProcessTagger ( string programFileName, string programArguments ) : System
programFileName string The path to the part-of-speech tagger executable.
programArguments string Command-line arguments to be passed to the part-of-speech tagger, not including input and output arguments.
Результат System

Tag() публичный метод

Calls an external part-of-speech tagger and runs it on each of the supplied words. Note that each call of this method creates (and cleans up) a separate process running the POS tagger. For performance reasons, it is better to tag words in large batches, rather than small, frequent batches.
public Tag ( ICollection words ) : List>.Dictionary
words ICollection A collection of words to be tagged
Результат List>.Dictionary