forked from AsherBond/rust-bert
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keyword extraction pipeline fixes (guillaume-be#393)
* - Fix keyword extraction pipeline skipping 1-character tokens - Fix keyword extraction pipeline excluding all n-grams longer than 2 - Expose new optional `tokenizer_forbidden_ngram_chars` to filter forbidden characters in n-grams. Defaults to punctuation (excluding hyphen) * expanded punctuation defaults with parentheses
- Loading branch information
1 parent
75cf52d
commit 14b0bb4
Showing
4 changed files
with
22 additions
and
4 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
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