sentient icon indicating copy to clipboard operation
sentient copied to clipboard

support strings that don't have matches

Open KevinColemanInc opened this issue 7 years ago • 1 comments

If a string doesn't have a matching phrase, then it fails with an Enum.EmptyError

Sentient.analyze(" ")
Sentient.analyze("abcd")

KevinColemanInc avatar Oct 16 '16 20:10 KevinColemanInc

@KevinColemanInc This appears to be fixed by commit 4f862f7d1f5bdd1aab3d7fdb602f022a3c138d63 but has not been published to hex.

A workaround is to reference that commit hash in mix.exs:

defp deps do
  [{:sentient, github: "dantame/sentient", ref: "4f862f7d1f5bdd1aab3d7fdb602f022a3c138d63"}]
end

@dantame Could you please bump the version and publish to hex.

slashdotdash avatar Jan 14 '17 21:01 slashdotdash