8000 add span tokenize functions to tokenize namespace, cf #1236 · ExplodingCabbage/nltk@ed62752 · GitHub
[go: up one dir, main page]

Skip to content

Commit ed62752

Browse files
committed
add span tokenize functions to tokenize namespace, cf nltk#1236
1 parent eb85caf commit ed62752

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nltk/tokenize/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
from nltk.tokenize.texttiling import TextTilingTokenizer
7474
from nltk.tokenize.casual import (TweetTokenizer, casual_tokenize)
7575
from nltk.tokenize.mwe import MWETokenizer
76+
from nltk.tokenize.util import string_span_tokenize, regexp_span_tokenize
7677

7778
# Standard sentence tokenizer.
7879
def sent_tokenize(text, language='english'):

0 commit comments

Comments
 (0)
0