C# 클래스 ABB.Swum.ExternalProcessTagger

A part-of-speech tagger
파일 보기 프로젝트 열기: abb-iss/Swum.NET

공개 메소드들

메소드 설명
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