Agility Kata "Word Count V"

Hyphenated words are no longer calculated separately, e.g. "Humpty-Dumpty" is counted as 1 word instead of 2.

$ wordcount
Enter text: Humpty-Dumpty sat on a wall. Humpty-Dumpty had a great fall.
Number of words: 8, unique: 7
$
en_USEnglish

Previous iteration edited?

You are currently opening an agility kata. Have you already worked on the previous part?

Please only open this exercise if you have already completed the previous parts. The idea of the Agility Katas is to implement additional requirements on existing code. If you look at all the requirements first, the effect of the Agility Katas will be lost.

Inkremente