Beispiel #1
0
        public string GetClassName(int partOfSpeechId)
        {
            if (IsLinux)
            {
                var buf8 = GetLexemBuffer8();
                GrammarApi.sol_GetClassName8(_engine, partOfSpeechId, buf8);
                return(Utf8ToString(buf8));
            }

            var b = new StringBuilder(32);

            GrammarApi.sol_GetClassName(_engine, partOfSpeechId, b);
            return(b.ToString());
        }