defmodule Algora.Util do @common_words [ "a", "add", "again", "air", "also", "an", "and", "are", "as", "ask", "at", "be", "but", "by", "can", "do", "does", "each", "end", "even", "for", "from", "get", "got", "had", "have", "he", "here", "his", "how", "i", "if", "in", "is", "it", "kind", "men", "must", "my", "near", "need", "of", "off", "on", "one", "or", "other", "our", "out", "put", "said", "self", "set", "some", "such", "tell", "that", "the", "their", "they", "this", "to", "try", "us", "use", "want", "was", "we're", "we", "well", "went", "were", "what", "which", "why", "will", "with", "you're", "you", "your" ] def is_common_word(s), do: Enum.member?(@common_words, s) end