cleaned up lemmatize-pos and added get-regex-key