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

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

Returns how often the given word appears in the middle of an identifier, i.e. not first or last.
public GetMiddleFrequency ( string word ) : int
word string The word.
Результат int
        public int GetMiddleFrequency(string word)
        {
            if (!frequencies.ContainsKey(word))
            {
                return 0;
            }
            else
            {
                return frequencies[word].Middle;
            }
        }