licenseclassifier
licenseclassifier copied to clipboard
Compiled default classifier
DefaultClassifier
is a bit expensive as it tokenizes and normalizes licenses. We don't want to perform it every run. Is there any way to pass a parsed docs
that is a private field? What if we will add NewClassifierWithDocs or something like that?
https://github.com/aquasecurity/licenseclassifier/blob/c913e304a1534c4580fa70c2c3af5cd85d99fc9c/v2/classifier.go#L194