jpeddicord / askalono

A tool & library to detect open source licenses from texts
Apache License 2.0
255 stars 25 forks source link

WASM demo and CLI detects combination license file as AGPL-1.0 #61

Open jamin-aws-ospo opened 3 years ago

jamin-aws-ospo commented 3 years ago

License file in question: https://raw.githubusercontent.com/digitalbazaar/forge/master/LICENSE

Askalano detects the combination of BSD License or the GNU General Public License (GPL) Version 2 as:

askalono thinks this is AGPL-1.0-only
with 88.0% confidence (took 34.0ms)
jpeddicord commented 3 years ago

ACK'd. AGPL-1.0 has been a thorn in my side for a while; its text is close enough to the GPL to almost match as-is, and then as soon as dual-licenses or extra text is thrown in it's enough to throw things off. Open to suggestions. As much as I'd like avoiding curating license sets (beyond "just using SPDX's dataset"), this might be a special case.