Closed AyanSinhaMahapatra closed 3 years ago
This requires some clarification in the use of key vs. expressions: IMHO we should never deal with keys in here.
This requires some clarification in the use of key vs. expressions: IMHO we should never deal with keys in here.
Changes made. It uses expressions
in place of keys
now.
Modify license expression prediction to first count all the expressions, remove unknowns, then select the one with the most occurrences. Now, matched_length is used if there are multiple expressions having the same count.
Signed-off-by: Ayan Sinha Mahapatra ayansmahapatra@gmail.com