Today we only report the "declared_license". The field "license_expression" has been designed to contain the normalized, detected version of the "declared_license" and should be populated alright.
The process for this is to run the license detection on the "declared_license" strings and use the reported expression. Some minimum threshold and score is likely to be needed.
This is a long pending requirement and has also been reported by @tomeks666 #1090 (comment).
Today we only report the "declared_license". The field "license_expression" has been designed to contain the normalized, detected version of the "declared_license" and should be populated alright.
The process for this is to run the license detection on the "declared_license" strings and use the reported expression. Some minimum threshold and score is likely to be needed.
This is a long pending requirement and has also been reported by @tomeks666 #1090 (comment).