Categories
Artificial Intelligence (AI) Development

Python code for Mapping Generated Trigram back to individual rows of Comments

I have this query regarding NLP Dataset, Please refer below query –

1) Once we generate Trigrams from 5000 rows of reviews , Lets say from entire corpus of text we generated 1000 Trigrams, then if we need to map these Trigrams back to 5000 individual rows of customer reviews, How to map these Trigrams back to 5000 individual rows, Please Advice, Please share the python script for the same.

Leave a Reply

Your email address will not be published. Required fields are marked *