nlpodyssey/gotokenizers

View on GitHub
Branch: master(View all)
NameLines of codeMaintainabilityTest coverage
.codeclimate.json
.github/workflows/go-ci.yml
.gitignore
LICENSE
README.md
encodings/encodings.go74
A
1 hr
go.mod
go.sum
gotokenizers.go1
A
0 mins
models/bpemodel/bpemodel.go166
A
2 hrs
models/bpemodel/mergemap.go71
A
45 mins
models/bpemodel/testdata/merges.txt
models/bpemodel/word.go113
A
3 hrs
models/bpemodel/wordcache.go27
A
0 mins
models/bpemodel/wordmerge.go29
A
0 mins
models/models.go10
A
0 mins
models/wordpiecemodel/wordpiecemodel.go95
A
2 hrs
normalizedstring/normalizedstring.go568
D
1 day
normalizedstring/range.go40
A
0 mins
normalizers/bertnormalizer/bertnormalizer.go99
A
0 mins
normalizers/lowercasenormalizer/lowercasenormalizer.go14
A
0 mins
normalizers/normalizers.go5
A
0 mins
normalizers/sequencenormalizer/sequencenormalizer.go19
A
0 mins
normalizers/stripnormalizer/stripnormalizer.go14
A
0 mins
pretokenizedstring/pretokenizedstring.go156
A
0 mins
pretokenizedstring/split.go27
A
0 mins
pretokenizers/bertpretokenizer/bertpretokenizer.go42
A
40 mins
pretokenizers/bytelevelpretokenizer/bytelevelpretokenizer.go87
A
40 mins
pretokenizers/metaspacepretokenizer/metaspacepretokenizer.go44
A
0 mins
pretokenizers/pretokenizers.go10
A
0 mins
pretokenizers/runedelimiterpretokenizer/runedelimiterpretokenizer.go26
A
0 mins
pretokenizers/whitespacepretokenizer/whitespacepretokenizer.go31
A
0 mins
pretokenizers/whitespacesplitpretokenizer/whitespacesplitpretokenizer.go27
A
0 mins
splitpattern/func.go45
A
0 mins
splitpattern/invertedpattern.go18
A
0 mins
splitpattern/regexp.go45
A
0 mins
splitpattern/regexp2.go53
A
0 mins
splitpattern/rune.go17
A
0 mins
splitpattern/splitpattern.go9
A
0 mins
splitpattern/string.go26
A
0 mins
strutils/strutils.go43
A
0 mins
vocabulary/testdata/vocab.json
vocabulary/vocabulary.go50
A
0 mins