Word Frequency Finder
Given an url to a text file, this application finds the top n words based on their frequency, excluding common words such as "a", "the", etc.
The v1
package contains the Scala Way.
The v2
package is the FS2 Streams Way
How to Deploy to Google Cloud Platform (GCP)
- Substitute your Google Cloud Project ID in the
packageName
field in thebuild.sbt
file - Authenticate with the Google Cloud SDK
- Run
sbt docker:publish
to publish your image to Container Registry - Run
gcloud run deploy word-frequency-finder --image us.gcr.io/your-project-id/word-frequency-finder:latest
(substituting your project id) to deploy your application to Google Cloud Run