Showing 92 of 92 total issues
exported type WordMerge should have comment or be unexported Open
Open
type WordMerge struct {
- Exclude checks
comment on exported var DefaultWordRegexp should be of the form "DefaultWordRegexp ..." Open
Open
// (readonly)
- Exclude checks
exported type FuncSplitPattern should have comment or be unexported Open
Open
type FuncSplitPattern struct {
- Exclude checks
exported function FromRegexp2 should have comment or be unexported Open
Open
func FromRegexp2(r *regexp2.Regexp) *Regexp2SplitPattern {
- Exclude checks
exported method MergeMap.Set should have comment or be unexported Open
Open
func (m *MergeMap) Set(firstID, secondID int, v MergeValue) {
- Exclude checks
exported function NewNormalizedRange should have comment or be unexported Open
Open
func NewNormalizedRange(start, end int) NormalizedRange {
- Exclude checks
exported function FromNormalizedString should have comment or be unexported Open
Open
func FromNormalizedString(ns *normalizedstring.NormalizedString) *PreTokenizedString {
- Exclude checks
exported function FromFunc should have comment or be unexported Open
Open
func FromFunc(f func(rune) bool) *FuncSplitPattern {
- Exclude checks
exported method InvertedPattern.FindMatches should have comment or be unexported Open
Open
func (ip *InvertedPattern) FindMatches(s string) ([]Capture, error) {
- Exclude checks
exported function FromRune should have comment or be unexported Open
Open
func FromRune(r rune) *RuneSplitPattern {
- Exclude checks
8: cannot find package "github.com/nlpodyssey/gotokenizers/strutils" in any of: Open
Open
import "github.com/nlpodyssey/gotokenizers/strutils"
- Exclude checks
exported const SplitDelimiterRemoved should have comment (or a comment on this block) or be unexported Open
Open
SplitDelimiterRemoved SplitDelimiterBehavior = iota
- Exclude checks
exported method NormalizedRange.Len should have comment or be unexported Open
Open
func (r NormalizedRange) Len() int {
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// Copyright (c) 2020, NLP Odyssey Authors. All rights reserved.
- Exclude checks
exported method WordSymbol.HasPrev should have comment or be unexported Open
Open
func (s *WordSymbol) HasPrev() bool {
- Exclude checks
exported method Word.MergeAll should have comment or be unexported Open
Open
func (w *Word) MergeAll(merges *MergeMap, dropout float64) {
- Exclude checks
exported method WordSymbol.HasNext should have comment or be unexported Open
Open
func (s *WordSymbol) HasNext() bool {
- Exclude checks
exported method OriginalRange.Len should have comment or be unexported Open
Open
func (r OriginalRange) Len() int {
- Exclude checks
exported function FromRegexp should have comment or be unexported Open
Open
func FromRegexp(r *regexp.Regexp) *RegexpSplitPattern {
- Exclude checks
exported method BytesToRuneOffsetConverter.Convert should have comment or be unexported Open
Open
func (b *BytesToRuneOffsetConverter) Convert(offsets ByteOffsets) RuneOffsets {
- Exclude checks