-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use word_tokenize in combo with TreebankWordDetokenizer. Other small …
…changes too (#21) * use capitalize for first_token_case and an out_of_vocab option * refactor nominator to numerator (more descriptive) * Use word_tokenizer instead of TweetTokenizer and TreebankWordDetokenizer to join tokens * Add test cases * Update __init__.py Co-authored-by: daltonfury42 <daltonfury42@users.noreply.github.com>
- Loading branch information
1 parent
2dfa90b
commit 825a6db
Showing
4 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,4 +77,7 @@ fabric.properties | |
.pytest_cache | ||
|
||
build/ | ||
.eggs/ | ||
.eggs/ | ||
|
||
# virtual env | ||
.env/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
from .TrueCaser import TrueCaser | ||
|
||
__version__ = "0.0.12" | ||
__version__ = "0.0.13" | ||
|
||
|
||
@lru_cache(maxsize=1) | ||
|