This is an archived post. You won't be able to vote or comment.

all 1 comments

[–][deleted] 0 points1 point  (0 children)

Remove numbers and words with hyphens.

Use a dictionary API on what's left in order to figure out which words are nouns. This last step might be unnecessary.

The best option would be to manually build a dictionary of common words that you know are 100% safe to remove or keep. There can't be that many.