package
2.0.0+incompatible
Repository: https://github.com/google/licenseclassifier.git
Documentation: pkg.go.dev

# Packages

Package tokenizer converts a text into a stream of tokens.

# Functions

Deserialize reads a file with a serialized SearchSet in it and reconstructs it.
FindPotentialMatches returns the ranges in the target (unknown) text that are best potential matches to the source (known) text.
New creates a new SearchSet object.

# Constants

DefaultGranularity is the minimum size (in words) of the hash chunks.

# Structs

MatchRange is the range within the source text that is a match to the range in the target text.
SearchSet is a set of substrings that have hashes associated with them, making it fast to search for potential matches.

# Type aliases

MatchRanges is a list of "MatchRange"s.