From 9d547a2733cffae498861377c1c22c8ff7ff7f0b Mon Sep 17 00:00:00 2001 From: Eric Ihli Date: Thu, 24 Jun 2021 11:48:15 -0500 Subject: [PATCH] Improve docstring on slurp-rime --- src/com/owoga/phonetics/syllabify.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/owoga/phonetics/syllabify.clj b/src/com/owoga/phonetics/syllabify.clj index 8ad3145..17d5b61 100644 --- a/src/com/owoga/phonetics/syllabify.clj +++ b/src/com/owoga/phonetics/syllabify.clj @@ -33,7 +33,8 @@ (> (sonority a) (sonority b))) (defn slurp-rime - "Returns a vector of the rime and the remaining phones to process." + "Expects the phones in reverse order. + Returns a vector of the rime (in forwards order) and the remaining phones to process." [phones] (let [splits (util/take-through vowel? phones)] [(vec (reverse (first splits))) (vec (flatten (rest splits)))]))