There is a random string that the user has inserted (inserted or received from the file). There is a large database (of English words / expressions) how best to make searches for these expressions / words in the string . It occurs to me to create this work in alphabetical order with this base, i.e. if it is an extension then only e . Perhaps there are already some libraries that would not reinvent the wheel?

Ps naturally the point is to find these substrings and their translation is as productive as possible.

  • The size of the base and the size of the string (at least approximately) to pick up the tool (shovel, shovel or 10 excavators) - Jiraff537
  • The line can be large) and you need to search in this line for English phrases / phrases (which are not translated directly) and just words. These phrases are in the file. I haven’t found this file yet, but surely there will be enough lines of information in it - Dmitry Berezhnoy
  • I would say that any search engine like solr will work here. on a dedicated server for all of this. If you want it in one application - convert the file to sqlite and use the built-in search. - emre
  • Thank you, I think it will help) - Dmitry Berezhnoy

0