Edited word algorithm

Should allow for collection of nouns, verbs and adjectives. Should
probably add something to easily detect negations.