--- a/cws/core_cw02.tex Thu Nov 02 12:37:58 2023 +0000
+++ b/cws/core_cw02.tex Thu Nov 02 13:53:37 2023 +0000
@@ -34,7 +34,7 @@
\noindent
In addition, the Scala part comes with reference
implementations in form of \texttt{jar}-files. This allows you to run
-any test cases on your own computer. For example you can call scala-cli on
+any test cases on your own computer. For example you can call \texttt{scala-cli} on
the command line with the option \texttt{--extra-jars docdiff.jar} and then
query any function from the template file. Say you want to find out
what the function \texttt{occurrences} produces: for this you just need
@@ -141,7 +141,7 @@
where $d_1^2$ means $d_1 \cdot d_1$ and so on.
You can expect this function to return a \texttt{Double} between 0 and 1. The
- overlap between the lists in (2) is $0.5384615384615384$.
+ overlap between the lists in Task (2) is $0.5384615384615384$.
Second, implement a function that calculates the similarity of
two strings, by first extracting the substrings using the clean