C# implementation of language processing