diff options
-rw-r--r-- | resources/pronouns.tab | 5 | ||||
-rw-r--r-- | src/pronouns/web.clj | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/resources/pronouns.tab b/resources/pronouns.tab index 890535b..01c1240 100644 --- a/resources/pronouns.tab +++ b/resources/pronouns.tab @@ -1,2 +1,5 @@ -ze hir hirs hirs hirself +ze hir hir hirs hirself ze zir zir zirs zirself +she her her hers herself +he him his his himself +they them their theirs themself diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj index 971c69b..665618d 100644 --- a/src/pronouns/web.clj +++ b/src/pronouns/web.clj @@ -39,8 +39,8 @@ (str subject " brought " possessive-determiner " frisbee") (str "at least I think it was " possessive-pronoun) (str subject " threw it to " reflexive)])) - ([error-message] - error-message)) + ([nothing] + "We couldn't find those pronouns in our database, please let us know to add them!")) (defroutes app-routes (GET "/" [] @@ -50,7 +50,7 @@ (GET "/*" {params :params} {:status 200 :headers {"Content-Type" "text/plain"} - :body (let [pronouns (parse-pronouns-with-lookup {:* params})] + :body (let [pronouns (parse-pronouns-with-lookup (:* params))] (apply render-examples-page pronouns))}) (ANY "*" [] |