Counting words

Prerequisite:

  • Docker must be installed

Run the application

  • make dc-build-up

Endpoints

Get the highest frequency

Get the frequency for the word

Get the frequencies of most frequent n words

curl --location --request GET 'http://localhost:8080/word-frequency/api/words/most-n-frequent?text=The sun shines over the lake&nFrequentWords=3'