sloria / TextBlob

Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
https://textblob.readthedocs.io/
MIT License
9.05k stars 1.13k forks source link

Word instances do not have offset information #367

Open johann-petrak opened 3 years ago

johann-petrak commented 3 years ago

While Sentence does have start and end attributes, Word does not and thus it is hard or clumsy to map information about the word back to the original text. Given how long this package has been around I wonder if this is a deliberate design decision or something that could get added?