This Angular component implements part of a text processing interface to analyze word frequencies on arbitrary input text.
calculateHighestFrequency(text: string): number
calculateFrequencyForWord(text: string, word: string): number
calculateMostFrequentNWords(text: string, n: number): WordFrequency[]
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload
Run ng build
to build the project. The build artifacts will be stored in dist/
Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.