Agility Kata "Word Count II"
Nicht alle Wörter sind für das Zählen relevant. Eine Liste von Stoppwörtern (bereitgestellt in der Datei „stopwords.txt“) definiert, welche Wörter nicht gezählt werden. Beispiel für stopwords.txt, wobei jede Zeile ein Stoppwort enthält:
the a on off
Anwendungsbeispiel:
$ wordcount Enter text: Mary had a little lamb Number of words: 4 $