licenseclassifier icon indicating copy to clipboard operation
licenseclassifier copied to clipboard

A License Classifier

Results 19 licenseclassifier issues
Sort by recently updated
recently updated
newest added

Fixed comment to work when using go get command Currently when using go get -u github.com/google/licenseclassifier/... I get the following error: `/opt/gocode/pkg/mod/github.com/google/[email protected]/licenses/embed.go:8:12: pattern *.db: no matching files found /opt/gocode/pkg/mod/github.com/google/[email protected]/licenses/embed.go:8:12: pattern...

We're considering to add the `identify_license` tool as what we call a "scanner" to [ORT](https://github.com/oss-review-toolkit/ort), see [here](https://github.com/oss-review-toolkit/ort/issues/5617#issuecomment-1196766794) for some context. As such it would be nice if we could easily...

`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...

Probable fix for the issue - [#41](https://github.com/google/licenseclassifier/issues/41)

https://github.com/google/licenseclassifier/blob/bb04aff29e72e636ba260ec61150c6e15f111d7e/v2/classifier_test.go#L127 I changed it to `name: "overlap at start"` Fixes #35

Describe the issue In the [computeQ](https://github.com/google/licenseclassifier/blob/3043a050f148a588e7e0c84dce27579dfe17fd2d/v2/document.go#L74) when the threshold is set to `1.0` the granularity is being calculated as `10`, but if we set the threshold to `0.95`, `0.99`, or...

Perhaps it would be good to have a main package file in v2 of licenseclassifier as in v1. Alongside licensedetection capabilites, it can also support copyright detection, JSON results and...

I'm using sqllite3 with blessing license, I'd like to add it to unencumbered licenses in this library. Can I do that? https://spdx.org/licenses/blessing.html

The latest release: https://github.com/google/licenseclassifier/releases/tag/v2.0.0-alpha.1 was a while back. There were quite some good improvements after that. Shall we tag another version for v2? Because when people use go get, they...

https://github.com/google/licenseclassifier/blob/bb04aff29e72e636ba260ec61150c6e15f111d7e/v2/classifier_test.go#L127 I think at line 127 it should be ` name: "overlap at start"`