stopwords in python

0

Is there any way to do stopword without using import nlkt ? I'm searching the web but I'm not finding it any other way. I can not install nltk on my 64-bit Python 3.6. I follow all the steps but finished the steps and already in the code the import associated ( import nlkt ) is not recognized in it.

    
asked by anonymous 19.12.2018 / 00:26

1 answer

0

How about trying the following:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from nltk.corpus import stopwords
import nltk

nltk.download('stopwords')

language = "french"

for word in stopwords.words(language):
    print (word)

    
19.12.2018 / 21:47