ABB.Swum.WordData.PositionalFrequencies.AddFrequency C# (CSharp) Метод

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

Stores the given frequency data for the given word. This will overwrite any existing data for that word.
public AddFrequency ( string word, int first, int middle, int last, int only ) : void
word string The word.
first int A count of how often the word appears at the beginning of an identifier.
middle int A count of how often the word appears in the middle of an identifier, i.e. not first or last.
last int A count of how often the word appears at the end of an identifier.
only int A count of how often the word appears by itself in an identifier.
Результат void
        public void AddFrequency(string word, int first, int middle, int last, int only)
        {
            PositionalFrequencyRecord fr = new PositionalFrequencyRecord { First = first, Middle = middle, Last = last, Only = only, Total = first + middle + last + only };
            this.AddFrequency(word, fr);
        }

Same methods

PositionalFrequencies::AddFrequency ( string word, PositionalFrequencyRecord record ) : void