{"id":25207038,"url":"https://github.com/santteegt/stat-nlp-cw","last_synced_at":"2025-04-05T03:24:18.889Z","repository":{"id":75226685,"uuid":"47193723","full_name":"santteegt/stat-nlp-cw","owner":"santteegt","description":"stat-nlp private fork for Courseworks","archived":false,"fork":false,"pushed_at":"2016-02-17T23:46:30.000Z","size":9308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T11:35:22.823Z","etag":null,"topics":["deep-learning","moro","natural-language-processing","scala","ucl","wolfe"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santteegt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-01T14:13:06.000Z","updated_at":"2016-02-17T23:42:26.000Z","dependencies_parsed_at":"2023-05-11T10:15:48.195Z","dependency_job_id":null,"html_url":"https://github.com/santteegt/stat-nlp-cw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fstat-nlp-cw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fstat-nlp-cw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fstat-nlp-cw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fstat-nlp-cw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santteegt","download_url":"https://codeload.github.com/santteegt/stat-nlp-cw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247282466,"owners_count":20913373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","moro","natural-language-processing","scala","ucl","wolfe"],"created_at":"2025-02-10T11:30:22.374Z","updated_at":"2025-04-05T03:24:18.872Z","avatar_url":"https://github.com/santteegt.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stat-nlp-book\n\n### Important Note\n\nThis project was created as a private fork from the original version of the [project book](https://github.com/uclmr/stat-nlp-book) with the aim to complete the coursework assignments of the COMPM083: Statistical Natural Language Processing module.\n\n### Live Online Version\n\nWe are running a [live online version](http://stat-nlp-book.wolfe.ml:9000/template/statnlpbook/04_compgi19/02_overview) of the book. \nDue to security reasons the content is not editable. If you want to play with the code and execute it you need to\ninstall the book locally, as described below.\n\n### Setup and run the book\n\nBefore running any of the following comands, make sure you have [all the prerequisites installed](https://github.com/uclmr/stat-nlp-book/wiki/Installation-of-prerequisites).\n\nAfter installing prerequisites, install the following libraries to a local repository by running the following:\n\n    git clone https://github.com/sameersingh/scalaplot.git; cd scalaplot\n    mvn clean install -Dgpg.skip=true; cd ..\n    git clone https://github.com/sameersingh/htmlgen.git; cd htmlgen\n    mvn clean install -Dgpg.skip=true; cd ..\n\nClone the repository (1), \nInitialize sub-modules (wolfe \u0026 moro) (2), compile the project (3) and compile wolfe, and publish it to your local ivy repository (4), setup the project specific configuration file (5) and run moro (6).\n\n1. `git clone https://github.com/uclmr/stat-nlp-book.git; cd stat-nlp-book`\n2. `git submodule update --init --recursive`\n3. `sbt compile`\n4. `cd wolfe; sbt compile; sbt publish-local; cd ..`\n5. `cp moro/conf/application-statnlpbook.conf moro/conf/application.conf`\n6. `cd moro; git checkout master; sbt run`\n7. `ln -s $PWD/src/main/moro/figures $PWD/moro/public/figures`\n\nRemarks:\n- ignore `[error] (wolfe-examples/compile:doc) Scaladoc generation failed` when executing step 4\n- step 4 - You may have to delete the wolfe directory in the ivy cache to make sure you get the newest version.\n- step 6 - You might me bugged by your firewall here. Set it to allow the application. This step might take some time depending on your computer performance. Do not panic over warning messages :)\n- for windows users, split the commands at the semi-colon (;) and run them on separate lines. The cmd command equivalent for *cp* is *copy*.\n    \n\n### Download Data\nTo download the OHHLA files, execute the following in your stat-nlp-book folder (NOT in the script folder)\n\n    ./scripts/download_ohhla.sh j_live\n    ./scripts/download_ohhla_txt.sh YFA_roots.html\n    ./scripts/download_ohhla_txt.sh YFA_rakim.html\n    \nRemarks:\n- the scripts make use of the *wget* command for downloading files. If you cannot run the scripts, open them with a text editor and run the command on the command line.\n- for windows users, you first need to instal *wget* for your windows command line.\n\n## Browse the Book\nEverytime you want to run the book, you have to go to the `stat-nlp-book/moro` directory and call `sbt run`.\n\nOnce you have the book running (step 6), proceed to the COMPGI19 entry point [here](http://localhost:9000/template/statnlpbook/04_compgi19/02_overview).\n\n## Live editing in IntelliJ\n\nYou can write code in IntelliJ and access it from moro after you compile it (either through IntelliJ or sbt)\n\nTo import the stat-nlp-book project to IntelliJ:\n\n1. Open IntelliJ\n2. Select *Import Project* and select the stat-nlp-book directory\n3. Select *Import project from external module* and SBT under it, and click on OK.\n4. In the next window select auto-import and continue with importing.\n\n## Contact your TAs\n\nIf you have a question that is not specific to you but could be interesting for other students as well, please post it in the [discussion forum](https://moodle.ucl.ac.uk/mod/forum/view.php?id=1402119). Otherwise, contact us directly.\n\n- [George Spithourakis](mailto:g.spithourakis.12@ucl.ac.uk)\n- [Johannes Welbl](mailto:johannes.welbl.14@ucl.ac.uk)\n- [Tim Rocktäschel](mailto:t.rocktaschel@cs.ucl.ac.uk)\n- [Matko Bošnjak](mailto:matko.bosnjak@cs.ucl.ac.uk)\n\nWhen contacting us, please send a single e-mail to all four of us so we can coordinate the response.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantteegt%2Fstat-nlp-cw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantteegt%2Fstat-nlp-cw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantteegt%2Fstat-nlp-cw/lists"}