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

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

Returns how often the given word appears at the end of an identifier.
public GetLastFrequency ( string word ) : int
word string The word.
Результат int
        public int GetLastFrequency(string word)
        {
            if (!frequencies.ContainsKey(word))
            {
                return 0;
            }
            else
            {
                return frequencies[word].Last;
            }
        }