google / google/licenseclassifier
Compiled default classifier
Open
- Dominant language
- Go
- Stars
- 349
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
`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
Contributor guide
Assessment
This issue has not been assessed yet.