Skip to content

angular typescript text processing interface to analyze word frequencies on arbitrary input text.

Notifications You must be signed in to change notification settings

ng2dev/word-frequency

Repository files navigation

Ordina Assignment

This Angular component implements part of a text processing interface to analyze word frequencies on arbitrary input text.

App preview

    calculateHighestFrequency(text: string): number
    calculateFrequencyForWord(text: string, word: string): number
    calculateMostFrequentNWords(text: string, n: number): WordFrequency[]

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload

Build

Run ng build to build the project. The build artifacts will be stored in dist/ Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

About

angular typescript text processing interface to analyze word frequencies on arbitrary input text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published