{"id":21426096,"url":"https://github.com/bcdh/cadet","last_synced_at":"2025-07-14T10:30:37.909Z","repository":{"id":43095957,"uuid":"318229881","full_name":"BCDH/cadet","owner":"BCDH","description":"Updated Cadet to work with spaCy v3","archived":false,"fork":false,"pushed_at":"2024-05-14T10:22:33.000Z","size":15381,"stargazers_count":2,"open_issues_count":13,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-21T07:27:24.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cadet-nightly.herokuapp.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BCDH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-03T15:04:02.000Z","updated_at":"2024-05-14T10:22:37.000Z","dependencies_parsed_at":"2024-05-14T11:49:03.062Z","dependency_job_id":null,"html_url":"https://github.com/BCDH/cadet","commit_stats":null,"previous_names":["bcdh/cadet"],"tags_count":0,"template":false,"template_full_name":"apjanco/fastapi_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BCDH%2Fcadet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BCDH%2Fcadet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BCDH%2Fcadet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BCDH%2Fcadet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BCDH","download_url":"https://codeload.github.com/BCDH/cadet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225970065,"owners_count":17553391,"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":[],"created_at":"2024-11-22T21:39:56.207Z","updated_at":"2025-07-14T10:30:37.902Z","avatar_url":"https://github.com/BCDH.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cadet: Asset Management for spaCy Language Models\n\n![](https://i.imgur.com/yhTiX7G.jpeg)\u003c!-- .element: style=\"width:70%; background: #222222; border:0; box-shadow:none;\" --\u003e\n\n## What is Cadet?\n\nCadet is a web app for creating custom language objects for spaCy.\n\n- **Goal**: To provide an easy-to-use tool that enables non-technical users to start leveraging the power of natural language processing (NLP) in their research projects.\n- **Context**: CLS Infra + DARIAH-Princeton Workshop Series \"NLP 4 New Languages\" (funded by the NEH)\n\n## New Languages for spaCy?\n\n- before you can train your model on annotated data, you need some data to begin with\n- spaCy language object contains multiple linguistic assets, not just an annotated corpus\n- spaCy offers models for many languages, but starting from scratch is not easy\n\n![Скриншот 2019-11-20 19.48.27](https://i.imgur.com/7e7B8Pc.png)\n\n## Why Cadet?\n\n- **Accessibility:** Makes the collection and processing of langauge assets accessible to humanists without a background in programming or data science.\n- **Customization:** Allows users to tailor language data to their specific needs and research domains.\n- **Efficiency:** Streamlines the process of creating amd processing language assets for new spaCy language models\n\n## Two flavors of Cadet\n\n- **Stand-alone web app**: User-friendly GUI with an intuitive design that simplifies model creation and customization.\n- **Jupyter Notebook**: More flexible than the stand-alone web app but requires a knowledge of Python\n\n## How does it work?\n\n- it takes the user through seven individual steps\n\n![](https://i.imgur.com/QeBW6GO.png) \u003c!-- .element: style=\"width:70%; border:none; background: none\" --\u003e\n\n### 1. Create a New Language Object\n\nBuilding from spaCy's defaults, this will create a new language object for your language\n\n### 2. Provide example sentences\n\n![](https://i.imgur.com/ak948Ha.png)\u003c!-- .element: style=\"width:90%; border:none; background: none\" --\u003e\n\n### 3. Tokenization Check\n\n![](https://i.imgur.com/GRmRT1X.png)\u003c!-- .element: style=\"width:90%; border:none; background: none\" --\u003e\n\n### 4. Lookup Tables\n\n![](https://i.imgur.com/qu7X9k6.png)\u003c!-- .element: style=\"width:90%; border:none; background: none\" --\u003e\n\n### 5. Load texts for annotation\n\n![](https://i.imgur.com/SgeCIfI.png)\u003c!-- .element: style=\"width:90%; border:none; background: none\" --\u003e\n\n### 6. Frequent Tokens\n\n#### Overview\n\n![](https://i.imgur.com/im3FwqF.png)\u003c!-- .element: style=\"width:70%; border:none; background: none\" --\u003e\n\n#### Bulk Editing\n\n![](https://i.imgur.com/nUBSOwS.png)\u003c!-- .element: style=\"width:80%; border:none; background: none\" --\u003e\n\n#### 7. Generate CONLL-U Files for Export to Inception\n\n![](https://i.imgur.com/dEye0Io.jpeg) \u003c!-- .element: style=\"width:70%; border:none; background: #222222;  box-shadow:none;\" --\u003e\n\n### 8. Export model for training\n\n![](https://i.imgur.com/kQxhPtZ.png)\u003c!-- .element: style=\"width:70%; border:none; background: #222222; box-shadow:none;\" --\u003e\n\n## Install and run with Docker\n\n1. Make sure you have docker installed on your machine (including the `docker` command).\n2. After cloning this repository, navigate to the root of the repository\nFor example:\n```\ngit clone git@github.com:BCDH/cadet.git\ncd cadet\n```\n3. Build the Docker image\n```\ndocker build -t cadet .\n```\n\n4. Run the Docker Container\n```\ndocker run -p 8000:8000 cadet\n```\n \n\n## Repo template\n\n![](https://i.imgur.com/ttcnsAr.png)\u003c!-- .element: style=\"width:70%; border:none; background: #222222; box-shadow:none;\" --\u003e\n\n## How to use this template\n\n1. [Click on the green button \"Use this template\"](https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)\n  ![](https://i.imgur.com/Rh2y7ZK.png)\n\n2. Create a new repository for your app.  The name is entirely up to you.\n\n3. When you application is working and ready to deploy, type the following in your browser:\n\n    `https://heroku.com/deploy?template=https://github.com/\u003cyour git account\u003e/\u003cyour repo\u003e/tree/master`  \n\nPlease note that you will be prompted to create a Hiroku user account if you do not have one.\n\n\u003ca href=\"https://heroku.com/deploy\"\u003e\n  \u003cimg src=\"https://www.herokucdn.com/deploy/button.svg\" alt=\"Deploy\"\u003e\n\u003c/a\u003e\n\n## Acknowledgements\n\n\u003cimg src=\"https://i.imgur.com/z7WiXJU.jpeg\" width=20% height=20%\u003e\n\nThis project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under Grant Agreement No 101004984: [CLS INFRA](https://clsinfra.io) as well as the National Endownment for the Humanities via [New Languages for NLP](https://newnlp.princeton.edu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcdh%2Fcadet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcdh%2Fcadet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcdh%2Fcadet/lists"}