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

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

Returns how often the given word appears by itself in an identifier
public GetOnlyFrequency ( string word ) : int
word string The word.
Результат int
        public int GetOnlyFrequency(string word)
        {
            if (!frequencies.ContainsKey(word))
            {
                return 0;
            }
            else
            {
                return frequencies[word].Only;
            }
        }