4 ms·
The most accurate license detector is ScanCode. I think it uses some sort of rolling checksum thing for detection. https://github.com/nexB/scancode-toolkit/ ht
by pabs3 5y ago
The most accurate license detector is ScanCode. I think it uses some sort of rolling checksum thing for detection.
https://github.com/nexB/scancode-toolkit/ https://github.com/nexB/scancode-toolkit/
- pombreda 5y agoHey, pabs3! Actually this is not using a rolling checksum for detection but rather a combo of language model, checksums, automatons, bitvectors, inverted indexes and multiple sequences alignment (e.g. a specialized diff). I put some docs there to explain the approach at ahttps://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/README.rst https://github.com/nexB/scancode-toolkit/blob/develop/src/li...