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].*");
        }