>>> import nltk
>>> nltk.word_tokenize("My name is _person_ and I live in _location_, _location_ .")
['My', 'name', 'is', '_person_', 'and', 'I', 'live', 'in', '_location_', ',', '_location_', '.']
-sujit
--
You received this message because you are subscribed to the Google Groups "nltk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nltk-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/nltk-users/68345993-af4a-4846-8cc9-7993b8f7f08bn%40googlegroups.com.