holtwick / what-license.com

Quickly check what license text you are facing
https://holtwick.github.io/what-license.com/
7 stars 1 forks source link

Partial words matching? #3

Open rpavlik opened 9 years ago

rpavlik commented 9 years ago

it looks like partial words match (not a word-wise comparison), which disproportionately favors the GPL and other long licenses (with a lot of words). For instance, this is what it did with words "STEAM VR" and the GPL 3: screenshot 038

Didn't look at your code so I don't know your distance metric, but it might be useful to try some word-based comparison.

holtwick commented 9 years ago

Very good observation! Indeed I wondered too why sometimes the matches very so strange. Would you like to give it a try and write a patch? Thanks