ABB.Swum.UnigramMethodRule.IsSpecialCase C# (CSharp) Метод

IsSpecialCase() защищенный метод

Determines whether the given word indicates a method that needs special handling.
protected IsSpecialCase ( string word ) : bool
word string The word to test.
Результат bool
        protected bool IsSpecialCase(string word)
        {
            //TODO: Is the second clause even possible in non-Java languages?
            return SpecialWords.Contains(word) || Regex.IsMatch(word, "^[0-9].*");
        }