2 ms·
This made me wonder how "metal" a given text is. Wrote a small toy here: https://lucb1e.com/rp/crapware/metalness.htm https://lucb1e.com/rp/crapware/metalness.h
by lucb1e 10y ago
This made me wonder how "metal" a given text is. Wrote a small toy here: https://lucb1e.com/rp/crapware/metalness.htm https://lucb1e.com/rp/crapware/metalness.htm
Given a text it will split each word, add up the metalness score and divide it by the number of words.
- qbrass 10y agoYou need to strip |,.?!| from the text because it won't recognize words with a punctuation mark at the end.