-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from bzz/tokenizer-flex-cgo
New, optional flex-based tokenizer
- Loading branch information
Showing
9 changed files
with
2,707 additions
and
15 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 |
---|---|---|
|
@@ -8,3 +8,4 @@ Makefile.main | |
build/ | ||
vendor/ | ||
java/lib/ | ||
.vscode/ |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Package tokenizer implements file tokenization used by the enry content | ||
// classifier. This package is an implementation detail of enry and should not | ||
// be imported by other packages. | ||
package tokenizer | ||
|
||
// ByteLimit defines the maximum prefix of an input text that will be tokenized. | ||
const ByteLimit = 100000 |
Oops, something went wrong.