{"id":15519085,"url":"https://github.com/danieldk/jitar","last_synced_at":"2025-10-18T21:26:39.293Z","repository":{"id":959629,"uuid":"746655","full_name":"danieldk/jitar","owner":"danieldk","description":"Jitar HMM part of speech tagger","archived":false,"fork":false,"pushed_at":"2016-01-08T08:52:01.000Z","size":809,"stargazers_count":22,"open_issues_count":2,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-23T04:18:00.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/danieldk.png","metadata":{"files":{"readme":"README.markdown","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":"2010-06-29T12:58:05.000Z","updated_at":"2023-07-03T09:08:06.000Z","dependencies_parsed_at":"2022-08-16T11:35:25.766Z","dependency_job_id":null,"html_url":"https://github.com/danieldk/jitar","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Fjitar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Fjitar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Fjitar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Fjitar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danieldk","download_url":"https://codeload.github.com/danieldk/jitar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366715,"owners_count":21418772,"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-10-02T10:19:59.207Z","updated_at":"2025-10-18T21:26:39.208Z","avatar_url":"https://github.com/danieldk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jitar\nA simple Trigram HMM part-of-speech tagger\n\n## Introduction\n\nJitar is a simple part-of-speech tagger, based on a trigram Hidden\nMarkov Model (HMM). It (partly) implements the ideas set forth in\n[1]. Jitar is written in Java, so it should be easy to use in other\nJava programs, or languages that run on the JVM.\n\n**Warning**\n\nThe Jitar API will be highly unstable for the first few versions!\n\n## Download\n\nThe latest Jitar version can be downloaded from the\n[releases](https://github.com/danieldk/jitar/releases) page. The\nbinary distribution includes a couple of handy scripts to use\nJitar.\n\nIf you would like to use Jitar in your own software, add it as\na dependency.\n\nMaven:\n\n~~~\n\u003cdependency\u003e\n    \u003cgroupId\u003eeu.danieldk.nlp.jitar\u003c/groupId\u003e\n    \u003cartifactId\u003ejitar\u003c/artifactId\u003e\n    \u003cversion\u003e0.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n~~~\n\nSBT:\n\n~~~\nlibraryDependencies += \"eu.danieldk.nlp.jitar\" % \"jitar\" % \"0.3.0\"\n~~~\n\nGrails:\n\n~~~\ncompile 'eu.danieldk.nlp.jitar:jitar:0.3.0'\n~~~\n\n## Training\n\nA model can be created from a corpus that includes part of speech\ntags, such as the Brown corpus. The model can be created easily with\nthe training program:\n\n    bin/train brown my_brown_corpus my_corpus.model\n\nReplace *brown* by *conll* if you are using a corpus in CoNLL format.\n\n## Tagging\n\nUsually, you will want to call the tagger from your own program, but\nwe have included a simple command line tagger as a sample. This\ntagger reads pretokenized sentences from the standard input (one\nsentence per line), and will print the best scoring tag sequence to\nthe standard output. For example:\n\n    $ echo \"The cat is on the mat .\" | bin/tag model\n    AT NN BEZ IN AT NN .\n\n## Release plan\n\nFor version 0.y.z, there might be API breakage. The plan is to offer\nAPI stability for a given *x* in *x.y.z* when *x \u003e= 1*.\n\n### 0.4.0 (Planned)\n\n* Use Dictomaton to store the lexicon and suffixes for unknown words.\n\n### 0.3.3\n\n* Fix a bug where the start/end markers could be used when handling unknown tokens (typically an unseen punctuation character). This change does **not** require retraining.\n* Add a utility *jitar-tag-conllx* to tag files that are in the CoNLL-X format. This preserves all other columns.\n* Compute interpolated scores only once.\n\n### 0.3.0\n\n* Add a capitalization marking to tags (as per the TnT paper). This gives\n  and improvement of around .2% on German and English.\n* Add a separate unknown word distribution for words containing a dash.\n  This provides a modest improvement for English and German.\n* API simplification (no more need to use/specify start and end markers).\n\n### 0.2.0 (Never released)\n\n* Java-style corpus readers.\n* Unified training and tagging data structures.\n* Add a utility for N-fold cross-validation.\n* Add more unit tests.\n\n### 0.1.0\n\n* Release in the Maven Central Repository.\n* Convenient shell-script wrappers for training/tagging/evaluation.\n\n## Authors\n\nDaniël de Kok \u0026lt;\u003cme@danieldk.eu\u003e\u0026gt;\n\n## FAQ\n\n- \"What's up with the name?\"\n\n  This is a Java port of a C++ tagger that I previously wrote,\n  named Sitar. Jitar, it is not an abbreviation. If you do like \n  abbreviations, let's make it \"JavaIsh TAgging Redux\" :).\n\n- \"Can I use Jitar, or parts thereof in closed-source software?\"\n\n  Sure, as long as you follow the terms of the Apache License version\n  2.0, including section 4b.\n\n- \"Do a really have to add a readable attribution notice to my product?\"\n\n  Yes! If this is really a problem for you or your company, contact me\n  to see if we can make a special arrangement.\n\n[1] TnT - a statistical part-of-speech tagger, Thorsten Brants, 2000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldk%2Fjitar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieldk%2Fjitar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldk%2Fjitar/lists"}