C# 클래스 SolarixGrammarEngineNET.GrammarEngine2

상속: IDisposable
파일 보기 프로젝트 열기: Koziev/GrammarEngine 1 사용 예제들

공개 메소드들

메소드 설명
AnalyzeMorphology ( string phrase, int id_language ) : AnalysisResults
AnalyzeMorphology ( string phrase, int id_language, SolarixGrammarEngineNET flags ) : AnalysisResults
AnalyzeMorphology ( string phrase, int id_language, SolarixGrammarEngineNET flags, int constraints ) : AnalysisResults
AnalyzeSyntax ( string _phrase, int id_language ) : AnalysisResults
AnalyzeSyntax ( string phrase, int id_language, SolarixGrammarEngineNET morph_flags, SolarixGrammarEngineNET syntax_flags ) : AnalysisResults
AnalyzeSyntax ( string phrase, int id_language, SolarixGrammarEngineNET morph_flags, SolarixGrammarEngineNET syntax_flags, int constraints ) : AnalysisResults
CountCoordStates ( int CoordID ) : int
CountWordEntries ( ) : int
Dispose ( ) : void
FindCoord ( string CoordName ) : int
FindEntry ( string EntryName, int PartOfSpeech ) : int
FindPartOfSpeech ( string PartOfSpeechName ) : int
FindPhrase ( string PhraseText, bool CaseSensitive ) : int
FindState ( int CoordID, string StateName ) : int
FindTag ( string TagName ) : int
FindTagValue ( int TagID, string ValueName ) : int
FindWordForm ( string wordform ) : WordProjections
GenerateWordforms ( int EntryID, System CoordID, System StateID ) : System.Collections.Generic.List
GetClassName ( int PartOfSpeechID ) : string
GetCoordName ( int CoordID ) : string
GetCoordStateName ( int CoordID, int StateID ) : string
GetCoordType ( int PartOfSpeechID, int CoordID ) : int
GetEngineHandle ( ) : IntPtr
GetEntryAttrState ( int EntryID, int CoordID ) : int
GetEntryClass ( int id_entry ) : int
GetEntryName ( int id_entry ) : string
GetLinks ( int id_entry, int link_type ) : List
GetPhrasalLinks ( int id_phrase, int link_type ) : List
GetPhraseText ( int PhraseID ) : string
GetTextFileSegmenter ( string FilePath, string Encoding, int LanguageID ) : TextSegmenter
GrammarEngine2 ( ) : System
GrammarEngine2 ( IntPtr hEngine ) : System
ListLinksTxt ( int id_entry, int link_code, int flags ) : ThesaurusLinks
Load ( string DictionaryXmlPath, bool LazyLexicon ) : void

Connect to the dictionary database using the information in XML configuration file

NormalizePhrase ( AnalysisResults linkages ) : string
RestoreCasing ( int EntryID, string word ) : string
Tokenize ( string Text, int LanguageID ) : string[]

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

AnalyzeMorphology() 공개 메소드

public AnalyzeMorphology ( string phrase, int id_language ) : AnalysisResults
phrase string
id_language int
리턴 AnalysisResults

AnalyzeMorphology() 공개 메소드

public AnalyzeMorphology ( string phrase, int id_language, SolarixGrammarEngineNET flags ) : AnalysisResults
phrase string
id_language int
flags SolarixGrammarEngineNET
리턴 AnalysisResults

AnalyzeMorphology() 공개 메소드

public AnalyzeMorphology ( string phrase, int id_language, SolarixGrammarEngineNET flags, int constraints ) : AnalysisResults
phrase string
id_language int
flags SolarixGrammarEngineNET
constraints int
리턴 AnalysisResults

AnalyzeSyntax() 공개 메소드

public AnalyzeSyntax ( string _phrase, int id_language ) : AnalysisResults
_phrase string
id_language int
리턴 AnalysisResults

AnalyzeSyntax() 공개 메소드

public AnalyzeSyntax ( string phrase, int id_language, SolarixGrammarEngineNET morph_flags, SolarixGrammarEngineNET syntax_flags ) : AnalysisResults
phrase string
id_language int
morph_flags SolarixGrammarEngineNET
syntax_flags SolarixGrammarEngineNET
리턴 AnalysisResults

AnalyzeSyntax() 공개 메소드

public AnalyzeSyntax ( string phrase, int id_language, SolarixGrammarEngineNET morph_flags, SolarixGrammarEngineNET syntax_flags, int constraints ) : AnalysisResults
phrase string
id_language int
morph_flags SolarixGrammarEngineNET
syntax_flags SolarixGrammarEngineNET
constraints int
리턴 AnalysisResults

CountCoordStates() 공개 메소드

public CountCoordStates ( int CoordID ) : int
CoordID int
리턴 int

CountWordEntries() 공개 메소드

public CountWordEntries ( ) : int
리턴 int

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FindCoord() 공개 메소드

public FindCoord ( string CoordName ) : int
CoordName string
리턴 int

FindEntry() 공개 메소드

public FindEntry ( string EntryName, int PartOfSpeech ) : int
EntryName string
PartOfSpeech int
리턴 int

FindPartOfSpeech() 공개 메소드

public FindPartOfSpeech ( string PartOfSpeechName ) : int
PartOfSpeechName string
리턴 int

FindPhrase() 공개 메소드

public FindPhrase ( string PhraseText, bool CaseSensitive ) : int
PhraseText string
CaseSensitive bool
리턴 int

FindState() 공개 메소드

public FindState ( int CoordID, string StateName ) : int
CoordID int
StateName string
리턴 int

FindTag() 공개 메소드

public FindTag ( string TagName ) : int
TagName string
리턴 int

FindTagValue() 공개 메소드

public FindTagValue ( int TagID, string ValueName ) : int
TagID int
ValueName string
리턴 int

FindWordForm() 공개 메소드

public FindWordForm ( string wordform ) : WordProjections
wordform string
리턴 WordProjections

GenerateWordforms() 공개 메소드

public GenerateWordforms ( int EntryID, System CoordID, System StateID ) : System.Collections.Generic.List
EntryID int
CoordID System
StateID System
리턴 System.Collections.Generic.List

GetClassName() 공개 메소드

public GetClassName ( int PartOfSpeechID ) : string
PartOfSpeechID int
리턴 string

GetCoordName() 공개 메소드

public GetCoordName ( int CoordID ) : string
CoordID int
리턴 string

GetCoordStateName() 공개 메소드

public GetCoordStateName ( int CoordID, int StateID ) : string
CoordID int
StateID int
리턴 string

GetCoordType() 공개 메소드

public GetCoordType ( int PartOfSpeechID, int CoordID ) : int
PartOfSpeechID int
CoordID int
리턴 int

GetEngineHandle() 공개 메소드

public GetEngineHandle ( ) : IntPtr
리턴 System.IntPtr

GetEntryAttrState() 공개 메소드

public GetEntryAttrState ( int EntryID, int CoordID ) : int
EntryID int
CoordID int
리턴 int

GetEntryClass() 공개 메소드

public GetEntryClass ( int id_entry ) : int
id_entry int
리턴 int

GetEntryName() 공개 메소드

public GetEntryName ( int id_entry ) : string
id_entry int
리턴 string

GetLinks() 공개 메소드

public GetLinks ( int id_entry, int link_type ) : List
id_entry int
link_type int
리턴 List

GetPhrasalLinks() 공개 메소드

public GetPhrasalLinks ( int id_phrase, int link_type ) : List
id_phrase int
link_type int
리턴 List

GetPhraseText() 공개 메소드

public GetPhraseText ( int PhraseID ) : string
PhraseID int
리턴 string

GetTextFileSegmenter() 공개 메소드

public GetTextFileSegmenter ( string FilePath, string Encoding, int LanguageID ) : TextSegmenter
FilePath string
Encoding string
LanguageID int
리턴 TextSegmenter

GrammarEngine2() 공개 메소드

public GrammarEngine2 ( ) : System
리턴 System

GrammarEngine2() 공개 메소드

public GrammarEngine2 ( IntPtr hEngine ) : System
hEngine System.IntPtr
리턴 System

ListLinksTxt() 공개 메소드

public ListLinksTxt ( int id_entry, int link_code, int flags ) : ThesaurusLinks
id_entry int
link_code int
flags int
리턴 ThesaurusLinks

Load() 공개 메소드

Connect to the dictionary database using the information in XML configuration file
public Load ( string DictionaryXmlPath, bool LazyLexicon ) : void
DictionaryXmlPath string Configuration file path (read about it: http://www.solarix.ru/for_developers/docs/russian-grammatical-dictionary-configuration.shtml)
LazyLexicon bool Word entries are loaded by demand if true
리턴 void

NormalizePhrase() 공개 메소드

public NormalizePhrase ( AnalysisResults linkages ) : string
linkages AnalysisResults
리턴 string

RestoreCasing() 공개 메소드

public RestoreCasing ( int EntryID, string word ) : string
EntryID int
word string
리턴 string

Tokenize() 공개 메소드

public Tokenize ( string Text, int LanguageID ) : string[]
Text string
LanguageID int
리턴 string[]