There is a line
Need to replace all the Russian words. Before these words must be passed to a separate function "proces" which will be the result of their transformation. And that replace function obtained from the result in string.
// here I process the word their algorithms