Text parsing library for c++ based on Hidden Markov Model description of the text structure