Scala Code Screener for Oseberg
Please complete the following and submit source code and output from runningsbt test
and sbt run
to DataTeamResumes@oseberg.io.
You’re welcome to use Internet resources in solving this problem as long as
they don’t give you the solution. We just ask that you cite every source that
you used. Also, please state with how much time you spent on this question. If
you have any questions about this or would like to seek clarification, please
contact DataTeamResumes@oseberg.io.
The development team will use this assessment to determine if you may be a
suitable candidate for the position.
Please bundle your project (sans binaries) and email to
DataTeamResumes@oseberg.io or upload to a private repository and share the
link. Please don’t push your solution to our public github repository. Thank
you.
io.oseberg.interview.FileStats
and io.oseberg.interview.FileStat
types.src/test/scala/io.oseberg/interview/ScreenerSpec.scala
. When you run sbt test
all tests should pass.Screener
object in io.oseberg.interview.Screener
so it prints relevant information for the file like the text below.
Stats for file: DoI.txt:
Line Count: 41
Total Word Count: 1335
Count for 'People': 10
Top Three Words by Freq: the, of, to