Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash uint64
func UniqHashes ¶
UniqHashes removes duplicates from a list of hashes. Ordering is otherwise preserved.
type Index ¶
type Indexer ¶
type Indexer struct {
Lang string // language used for indexering
NgramSize int
// contains filtered or unexported fields
}
func NewIndexer ¶
NewIndexer creates a new Indexer.
func (*Indexer) HashString ¶
HashString tokenises a string and returns a list of hashed ngrams.
Click to show internal directories.
Click to hide internal directories.