nltk
Here are 1,410 public repositories matching this topic...
The words and sentences properties are helpers that use the textblob.tokenizers.WordTokenizer and textblob.tokenizers.SentenceTokenizer classes, respectively.
You can use other tokenizers, such as those provided by NLTK, by passing them into the TextBlob constructor then accessing the t
-
Updated
May 27, 2020 - Python
This is also on page 356.
from nltk.corpus import sentiwordnet as swn
good = swn.senti_synsets('good', 'n')[0]
Traceback (most recent call last):
File "", line 1, in
TypeError: 'filter' object is not subscriptable
Hello,
I am getting the following error message "error: package directory 'rake_nltk' does not exist" when installing rake-nltk with:
git clone https://github.com/csurfer/rake-nltk.git
python rake-nltk/setup.py install :
I also tried the option pip install rake-nltk but the installation also fails:
File "/tmp/pip-build-2zTHYP/rake-nltk/setup.py", line 17, in _post_install
import
-
Updated
Jun 8, 2020 - Python
Just an idea:
I think README would be the best thing to run LDA on, since it contains a pretty good description of the project. Projects without README should be penalised either way. Often times the repository description is too short to describe in detail what the repository is all about.
@stevenbird
Initial release of the corpus available at: https://doi.org/10.7488/ds/1411
Suggested NLTK name: ARCOSG
I have updated and corrected the corpus for inclusion in NLTK. (The one at the link above is older and shouldn't be used).
Corpus reader code verified:
`arcosg = LazyCorpusLoader(
'arcosg',
CategorizedTaggedCorpusReader,
r'.*.txt',
cat_file='cats.prn',
-
Updated
Jan 17, 2019 - Jupyter Notebook
-
Updated
Jul 10, 2019 - Jupyter Notebook
-
Updated
Apr 22, 2020 - Python
-
Updated
Nov 24, 2017
-
Updated
Jan 14, 2020 - Jupyter Notebook
-
Updated
Mar 24, 2020 - Python
-
Updated
Jun 10, 2018 - Ruby
Text version
master
Orange version
master
Expected behavior
I search for a word in Corpus Viewer and get some documents. I would then expect the output to be those documents that I also select in the documents list. It would behave more like Data Table.
Actual behavior
The output is always documents that match search regardless of what is selected in the documents li
-
Updated
Aug 26, 2019 - Python
-
Updated
May 3, 2020 - Python
-
Updated
Aug 16, 2017 - Python
-
Updated
Jun 2, 2019 - Python
-
Updated
Dec 9, 2019 - Python
-
Updated
Mar 3, 2017 - Jupyter Notebook
-
Updated
Jun 5, 2020 - Jupyter Notebook
-
Updated
Jan 1, 2019 - Python
-
Updated
Mar 22, 2018 - Java
-
Updated
May 28, 2020 - Jupyter Notebook
Improve this page
Add a description, image, and links to the nltk topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the nltk topic, visit your repo's landing page and select "manage topics."
This output is unexpected. The
Inreturns the capitalizeInfrom PorterStemmer's output.More details on https://stackoverflow.com/q/60387288/610569