This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' Feature Extraction using TF-IDF this code is python3 implementation of source code included in Text Analytics with Python''' | |
CORPUS = [ | |
'the sky is blue', | |
'sky is blue and sky is beautiful', | |
'the beautiful sky is so blue', | |
'i love blue cheese' | |
] | |
new_doc = ['loving this blue sky today'] |