nlpodyssey/gotokenizers

View on GitHub
encodings/encodings.go

Summary

Maintainability
A
1 hr
Test Coverage

Function NewEncoding has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

    ids []int,
    typeIDs []int,
    tokens []string,
    words []int,
    offsets []strutils.ByteOffsets,
Severity: Major
Found in encodings/encodings.go - About 1 hr to fix

    8: cannot find package "github.com/nlpodyssey/gotokenizers/strutils" in any of:
    Open

    import "github.com/nlpodyssey/gotokenizers/strutils"
    Severity: Minor
    Found in encodings/encodings.go by govet

    exported function EncodingFromEncodableTokens should have comment or be unexported
    Open

    func EncodingFromEncodableTokens(tokens []EncodableToken) *Encoding {
    Severity: Minor
    Found in encodings/encodings.go by golint

    There are no issues that match your filters.

    Category
    Status