예제 #1
0
        private string _getWithMultilangKey(string enKey)
        {
            if (GramsDic.ContainsKey(enKey))
            {
                return(this[enKey]);
            }

            return(this[GramInfo.EnRuDic[enKey]]);
        }
예제 #2
0
        /// <summary>
        /// Returns grammeme for grammatical category
        /// </summary>
        /// <param name="gramCatKey">Grammatical category key</param>
        public string this[string gramCatKey]
        {
            get
            {
                if (GramsDic.ContainsKey(gramCatKey))
                {
                    return(GramsDic[gramCatKey]);
                }

                return(null);
            }
        }