Skip to content

Commit

Permalink
Update token counts from corpus update
Browse files Browse the repository at this point in the history
  • Loading branch information
alvations committed Jul 15, 2019
1 parent 8f0110f commit 0c94763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nltk/test/corpus.doctest
Expand Up @@ -94,7 +94,7 @@ If the reader methods are called without any arguments, they will
typically load all documents in the corpus.

>>> len(inaugural.words())
145735
149797

If a corpus contains a README file, it can be accessed with a ``readme()`` method:

Expand Down

1 comment on commit 0c94763

@mgorny
Copy link
Contributor

@mgorny mgorny commented on 0c94763 Mar 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this test really considered meaningful? It looks like something that's guaranteed to break often, and afterwards fail for users depending on which version of corpus they happen to have. I'm asking because I'm trying to update Gentoo nltk packages only to discover I have to include patches for silly issues like this.

Please sign in to comment.