how to get genuine words from the string in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to get genuine words from the string in python

example "lovessunday" should give loves and sunday

9th Jan 2020, 8:54 AM
ashish ansurkar
ashish ansurkar - avatar
4 Answers
+ 3
Machine learning
9th Jan 2020, 9:01 AM
Mihai Apostol
Mihai Apostol - avatar
+ 2
it requires a lot of computation and optimization. you could for example use a dictionary file (not python dictionary data type) a real word list open it and look for patterns of each word in the dictionary file in the string. and split the string according to those patterns. that means you are in the territory of big data. there are many libraries to help you with that. it's feasible.
9th Jan 2020, 10:09 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 2
thanks guys for your help..now i m in proper direction
9th Jan 2020, 6:02 PM
ashish ansurkar
ashish ansurkar - avatar