We have a list of tags, in an elastic index. Example: Nike, United States of America, Christmas, Trump. Tags could have more than 1 word.
Then, we will receive some text (a sentence or paragraph), and we need to detect some tags in that text. Match is case insensitive, and tags could appear with some mistakes.
The script should response with the tags detected and a score between 0 and 1 (1 = perfect match).
Examples:
"Nike joyride. Disfrutá tu corrida" -> (Nike, 1)
"The United States doesn't live up to the ideals of Labor Day" -> (United States of America, 0.7)
"Never too early for Chrismas" -> (Christmas, 0.9)
"TRUMP went golfing as Hurricane Dorian threatens US" -> (Trump, 1)
We don't have a formula for the score. It's just an idea. 1 = perfect match. More diffs: lower score.
For a more complete example, you could see this: https://docs.google.com/spreadsheets/d/1bm86cnVerTsMMYx4k7PXUjdf5gZC3JkwAUuFhphLcRw/edit#gid=0
In the first sheet, you have a list of tags. In the second sheet, you have example of texts, and the tags found with an example score.
Remember: tags are stored in elasticsearch.
Hi
I believe I can perform the role of your project exceptionally well.
I am well versed in the skills you desire.
I am also always taking attention to Details and Kindly service, High-Quality Code.
Based on your feedback, I can draft my proposal accurately and from there I can get started immediately.
Please kindly message me to share your view and best solution.
Thank you for your consideration.
Sincerely, Zhenlong
Hello, Sir.
I am so happy for this chance to give us this opportunity to work with you in your project.
I will do your project as the following step
1. load tags and paragraphs, then split the paragraphs into words(tags)
2. I will get the distances between tags and words of paragraphs using Levenshtein Distance(will be score).
3. sort the list of words by distance(score)
4. output the tags : score
I would like to discuss more detail.
I'm highly Skilled C# and python programmer and desktop developer worked with many algorithms , i can help make an algorithm to find these tags , please contact me to discuss details
Hello!
Thank you for your job posting ;-)
I have a lot of experience in performing similar tasks. So I propose you a quick and high-quality implementation of your project.
Message me to private chat and we will discuss the details.
I am also good in
- CSS, HTML, JS (JQuery, Vue), Python, PHP, MySql
- can understand code of other developers
- engineering and implementing algorithms
- OS Linux server administration
I am ready to start you project immediately.