├── .gitignore ├── .gitmodules ├── README.md ├── lib └── assignment2precompiled.jar ├── project └── Build.scala ├── scripts ├── download_ohhla.sh └── download_ohhla_txt.sh ├── src └── main │ ├── moro │ ├── 00_intro.json │ ├── 01_tasks │ │ ├── 00_tokenization.json │ │ ├── 01_languagemodels.json │ │ ├── 02_wordmt.json │ │ ├── 0x_depparsing.json │ │ ├── 0x_document_classification.json │ │ ├── 0x_parsing.json │ │ ├── 0x_textclassify.json │ │ ├── LEGACY_languagemodels.json │ │ └── test.json │ ├── 02_methods │ │ ├── 00_structuredprediction.json │ │ └── 0x_mle.json │ ├── 03_implementation │ │ └── 00_structures.json │ ├── 04_compgi19 │ │ ├── 00_logistics.json │ │ ├── 01_intro.json │ │ └── 02_overview.json │ ├── 05_tutorial │ │ ├── 00_intro_to_scala_tutorial_welcome.json │ │ ├── 01_intro_to_scala_part1.json │ │ └── 02_intro_to_scala_part2.json │ └── figures │ │ ├── comprehension.pdf │ │ ├── comprehension.png │ │ ├── ie1.png │ │ ├── ie2.png │ │ ├── mt.png │ │ ├── psycho.png │ │ ├── qa.png │ │ ├── sentiment.png │ │ ├── sexcoffee.png │ │ ├── siri1.png │ │ ├── siri2.png │ │ ├── summarization.png │ │ ├── whatwesaytodogs.png │ │ └── wreckanicebeach.png │ ├── scala │ └── uk │ │ └── ac │ │ └── ucl │ │ └── cs │ │ └── mr │ │ └── statnlpbook │ │ ├── Plotter.scala │ │ ├── RegexTokenizer.scala │ │ ├── Test.scala │ │ ├── Util.scala │ │ ├── chapter │ │ ├── classify │ │ │ └── TextClassify.scala │ │ └── languagemodels │ │ │ └── LanguageModel.scala │ │ ├── corpora │ │ └── OHHLA.scala │ │ └── package.scala │ └── worksheets │ ├── sparse_features.sc │ └── tokenization.sc └── statnlpbook-moro.conf /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/README.md -------------------------------------------------------------------------------- /lib/assignment2precompiled.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/lib/assignment2precompiled.jar -------------------------------------------------------------------------------- /project/Build.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/project/Build.scala -------------------------------------------------------------------------------- /scripts/download_ohhla.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/scripts/download_ohhla.sh -------------------------------------------------------------------------------- /scripts/download_ohhla_txt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/scripts/download_ohhla_txt.sh -------------------------------------------------------------------------------- /src/main/moro/00_intro.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/00_intro.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/00_tokenization.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/00_tokenization.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/01_languagemodels.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/01_languagemodels.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/02_wordmt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/02_wordmt.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/0x_depparsing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/0x_depparsing.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/0x_document_classification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/0x_document_classification.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/0x_parsing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/0x_parsing.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/0x_textclassify.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/0x_textclassify.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/LEGACY_languagemodels.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/LEGACY_languagemodels.json -------------------------------------------------------------------------------- /src/main/moro/01_tasks/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/01_tasks/test.json -------------------------------------------------------------------------------- /src/main/moro/02_methods/00_structuredprediction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/02_methods/00_structuredprediction.json -------------------------------------------------------------------------------- /src/main/moro/02_methods/0x_mle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/02_methods/0x_mle.json -------------------------------------------------------------------------------- /src/main/moro/03_implementation/00_structures.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/03_implementation/00_structures.json -------------------------------------------------------------------------------- /src/main/moro/04_compgi19/00_logistics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/04_compgi19/00_logistics.json -------------------------------------------------------------------------------- /src/main/moro/04_compgi19/01_intro.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/04_compgi19/01_intro.json -------------------------------------------------------------------------------- /src/main/moro/04_compgi19/02_overview.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/04_compgi19/02_overview.json -------------------------------------------------------------------------------- /src/main/moro/05_tutorial/00_intro_to_scala_tutorial_welcome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/05_tutorial/00_intro_to_scala_tutorial_welcome.json -------------------------------------------------------------------------------- /src/main/moro/05_tutorial/01_intro_to_scala_part1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/05_tutorial/01_intro_to_scala_part1.json -------------------------------------------------------------------------------- /src/main/moro/05_tutorial/02_intro_to_scala_part2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/05_tutorial/02_intro_to_scala_part2.json -------------------------------------------------------------------------------- /src/main/moro/figures/comprehension.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/comprehension.pdf -------------------------------------------------------------------------------- /src/main/moro/figures/comprehension.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/comprehension.png -------------------------------------------------------------------------------- /src/main/moro/figures/ie1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/ie1.png -------------------------------------------------------------------------------- /src/main/moro/figures/ie2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/ie2.png -------------------------------------------------------------------------------- /src/main/moro/figures/mt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/mt.png -------------------------------------------------------------------------------- /src/main/moro/figures/psycho.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/psycho.png -------------------------------------------------------------------------------- /src/main/moro/figures/qa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/qa.png -------------------------------------------------------------------------------- /src/main/moro/figures/sentiment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/sentiment.png -------------------------------------------------------------------------------- /src/main/moro/figures/sexcoffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/sexcoffee.png -------------------------------------------------------------------------------- /src/main/moro/figures/siri1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/siri1.png -------------------------------------------------------------------------------- /src/main/moro/figures/siri2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/siri2.png -------------------------------------------------------------------------------- /src/main/moro/figures/summarization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/summarization.png -------------------------------------------------------------------------------- /src/main/moro/figures/whatwesaytodogs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/whatwesaytodogs.png -------------------------------------------------------------------------------- /src/main/moro/figures/wreckanicebeach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/moro/figures/wreckanicebeach.png -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/Plotter.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/Plotter.scala -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/RegexTokenizer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/RegexTokenizer.scala -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/Test.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/Test.scala -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/Util.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/Util.scala -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/chapter/classify/TextClassify.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/chapter/classify/TextClassify.scala -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/chapter/languagemodels/LanguageModel.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/chapter/languagemodels/LanguageModel.scala -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/corpora/OHHLA.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/corpora/OHHLA.scala -------------------------------------------------------------------------------- /src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/package.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/scala/uk/ac/ucl/cs/mr/statnlpbook/package.scala -------------------------------------------------------------------------------- /src/main/worksheets/sparse_features.sc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/worksheets/sparse_features.sc -------------------------------------------------------------------------------- /src/main/worksheets/tokenization.sc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/src/main/worksheets/tokenization.sc -------------------------------------------------------------------------------- /statnlpbook-moro.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uclnlp/stat-nlp-book-scala/HEAD/statnlpbook-moro.conf --------------------------------------------------------------------------------