ABB.Swum.UnigramMethodRule.UnigramMethodRule C# (CSharp) Метод

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

Creates a new UnigramMethodRule.
public UnigramMethodRule ( HashSet specialWords, HashSet booleanArgumentVerbs, HashSet nounPhraseIndicators, PositionalFrequencies positionalFrequencies ) : System
specialWords HashSet A list of words that indicate the method name needs special handling.
booleanArgumentVerbs HashSet A list of verbs that indicate that the boolean arguments to a method should be included in the UnknownArguments list.
nounPhraseIndicators HashSet A list of word that indicate that beginning of a noun phrase.
positionalFrequencies ABB.Swum.WordData.PositionalFrequencies Positional frequency data.
Результат System
        public UnigramMethodRule(HashSet<string> specialWords, HashSet<string> booleanArgumentVerbs, HashSet<string> nounPhraseIndicators, PositionalFrequencies positionalFrequencies)
            : base()
        {
            this.SpecialWords = specialWords;
            this.BooleanArgumentVerbs = booleanArgumentVerbs;
            this.NounPhraseIndicators = nounPhraseIndicators;
            this.PositionalFrequencies = positionalFrequencies;
        }

Same methods

UnigramMethodRule::UnigramMethodRule ( ) : System
UnigramMethodRule::UnigramMethodRule ( PartOfSpeechData posData, Tagger tagger, IdSplitter splitter ) : System
UnigramMethodRule::UnigramMethodRule ( PartOfSpeechData posData, Tagger tagger, IdSplitter splitter, HashSet specialWords, HashSet booleanArgumentVerbs, HashSet nounPhraseIndicators, PositionalFrequencies positionalFrequencies ) : System