aboutcode-org / aboutcode-org/scancode-toolkit

Accept certain known extra words in a license without losing score points

オープン
#2,405 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
license scan new feature
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

When we have a license matched exactly to a rule but there are some extra words, we do not have a 100% match score by design.
Yet there are cases where these extra words are NOT something that should degrade the score. For instance:

`The library is licensed under the GPL` as a rule
vs.
`The FOOBAR library is licensed under the GPL` as a scanned text.

Here the extra `FOOBAR` should not impact the 100% score of the rule detection.

One approach could be to maintain a set of such known words and use these in some post-processing of the license match results to keep a 100% match.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。