- Import the project into IntelliJ or any IDE which has Scala compiler.
- Navigate to WordCount.scala and Run (similar to any Stand-alone program)
- Copy WordCount.scala and the input data file to a location
- Run the below commands
scalac WordCount.scala
scala WordCount