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

GetTotalFrequency() публичный метод

Returns the total number of times the given word appears in an identifier.
public GetTotalFrequency ( string word ) : int
word string The word.
Результат int
        public int GetTotalFrequency(string word)
        {
            if (!frequencies.ContainsKey(word))
            {
                return 0;
            }
            else
            {
                return frequencies[word].Total;
            }
        }