Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3771650
D1353.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
643 B
Referenced Files
None
Subscribers
None
D1353.diff
View Options
Index: README
===================================================================
--- README
+++ README
@@ -7,6 +7,7 @@
* Download the needed NLTK resources with ntlk.download():
** maxent_treebank_pos_tagger
** punkt
+** treebank
Source text
-----------
Index: extract-proper-nouns
===================================================================
--- extract-proper-nouns
+++ extract-proper-nouns
@@ -6,7 +6,7 @@
import nltk
from nltk.tag import pos_tag
from nltk.tokenize import word_tokenize
-from nltk.tokenize.punkt import PunktWordTokenizer
+from nltk.tokenize.treebank import TreebankWordTokenizer
#
# Parses arguments
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 00:58 (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261415
Default Alt Text
D1353.diff (643 B)
Attached To
Mode
D1353: Update word tokenizer
Attached
Detach File
Event Timeline
Log In to Comment