Does anybody know if there is some library which can solve this problem:
I have set of strings, for example screen resolutions with some text around it:
1024x768
1920x1080 (FullHD)
2560×1600 (Retina)
...
then I get another string like 800x600 or just "Retina" and I want to retrieve some number which will represent probability that this string represents screen resolution (The value don't have to be in the set).
To be more specific consider that I have more classifications than just screen resolutions. Take for example frequencies of CPU, MB/GB of RAM etc. So the solution should be more generic and with some learning ability of course.