python - NLTK Concordance between delimiters -
python - NLTK Concordance between delimiters -
i using python , nltk analyse 'goal' titles. basically, people set goals such 'work harder', 'watch sun rise' , on. want see how , each of non-stopwords appear in list of entries , dump results file. know can give 'concordance' width, , helps little (helps me prune unimportant info out of output).
ideally want show concordances comma comma (one 'goal' entry separated commas). know maybe utilize search rather nltk, nltk bundle much more elegant , utilize it, if possible.
python nltk custom-formatting
Comments
Post a Comment