C# 클래스 NPetrovich.Inflection.CaseInflection

파일 보기 프로젝트 열기: petrovich/petrovich-net 1 사용 예제들

공개 메소드들

메소드 설명
CaseInflection ( Gender gender, IRulesLoader rulesLoader = null ) : System
InflectFirstNameTo ( string firstName, Case @case ) : string
InflectLastNameTo ( string lastName, Case @case ) : string
InflectMiddleNameTo ( string middleName, Case @case ) : string

비공개 메소드들

메소드 설명
Apply ( string name, Case @case, Rule rule ) : string
CaseInflection ( RulesProvider provider, Gender gender ) : System
ExtractTags ( bool>.Dictionary features ) : HashSet
Find ( string name, List rules, bool matchWholeWord, HashSet tags ) : Rule
FindAndApply ( string name, Case @case, RuleSet ruleSet, bool>.Dictionary features ) : string
FindCaseModificator ( Case @case, Rule rule ) : string
FindRulesFor ( string name, RuleSet ruleSet, bool>.Dictionary features ) : Rule
InflectTo ( string name, Case @case, RuleSet ruleSet ) : string
MatchRule ( string name, Rule rule, bool matchWholeWord, HashSet tags ) : bool

메소드 상세

CaseInflection() 공개 메소드

public CaseInflection ( Gender gender, IRulesLoader rulesLoader = null ) : System
gender Gender
rulesLoader IRulesLoader
리턴 System

InflectFirstNameTo() 공개 메소드

public InflectFirstNameTo ( string firstName, Case @case ) : string
firstName string
@case Case
리턴 string

InflectLastNameTo() 공개 메소드

public InflectLastNameTo ( string lastName, Case @case ) : string
lastName string
@case Case
리턴 string

InflectMiddleNameTo() 공개 메소드

public InflectMiddleNameTo ( string middleName, Case @case ) : string
middleName string
@case Case
리턴 string