{"id":16209554,"url":"https://github.com/dan-oak/pos","last_synced_at":"2025-03-19T08:31:07.737Z","repository":{"id":95109202,"uuid":"50126472","full_name":"dan-oak/pos","owner":"dan-oak","description":"Simple English part-of-speech tagger : 93% accuracy","archived":false,"fork":false,"pushed_at":"2016-09-11T09:34:18.000Z","size":60550,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T11:37:15.339Z","etag":null,"topics":["dynamic-programming","hmm","hmm-model","hmm-viterbi-algorithm","nlp","nltk","numpy","pos","python","scipy"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dan-oak.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-21T18:05:31.000Z","updated_at":"2023-01-31T00:57:34.000Z","dependencies_parsed_at":"2023-05-26T18:00:30.883Z","dependency_job_id":null,"html_url":"https://github.com/dan-oak/pos","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/dan-oak%2Fpos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-oak%2Fpos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-oak%2Fpos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-oak%2Fpos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dan-oak","download_url":"https://codeload.github.com/dan-oak/pos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976478,"owners_count":20377691,"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":["dynamic-programming","hmm","hmm-model","hmm-viterbi-algorithm","nlp","nltk","numpy","pos","python","scipy"],"created_at":"2024-10-10T10:30:13.011Z","updated_at":"2025-03-19T08:31:07.689Z","avatar_url":"https://github.com/dan-oak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple English part-of-speech tagger\n\nIn corpus linguistics, part-of-speech tagging (POS tagging or POST), also called grammatical tagging or word-category disambiguation, is the process of marking up a word in a text (corpus) as corresponding to a particular part of speech, based on both its definition and its context—i.e., its relationship with adjacent and related words in a phrase, sentence, or paragraph. A simplified form of this is commonly taught to school-age children, in the identification of words as nouns, verbs, adjectives, adverbs, etc. [Wikipedia]\n\nWritten in Python 3. Dependencies: `scipy`, `numpy`, `nltk`.   \n_NB. all of the above dependencies are not crucial, but still used in code - they will be removed later._  \n\n## Usage\n_Note_: use Python 3 (i.e. `python3` instead of `python` on some systems)\n    \n### Interactive sentence tagger\n```\npython postag-interactive.py\n```\n\n### Awesome statistics\n```\npython correctness.py data/Brown_tagged_dev.txt output/Brown_tagged_dev.txt\n```\n\n### Example\n\n    Sentence \u003e Hello, part-of-speech tagger! NLP is an exciting field of applicable science!\n    Tagged : Hello/PRT ,/. part-of-speech/NOUN tagger/NOUN !/. NLP/NOUN is/VERB an/DET exciting/ADJ field/NOUN of/ADP applicable/ADJ science/NOUN !/.\n\n## Presentation\n\nCheckout my conference presentation on the project in `misc/presentation.pdf`.\nAlthought it's in ukrainian there are cool images! ;)\n\n![Hidden Markov Model](/misc/screenshot-2.png)\n![Exupéry quote](/misc/screenshot-1.png)\n\n## Perspective\n\nThere is still work to do: documentation, code refinement, model improvement etc. Currently I'm using only hidden markov model. \n\nGlad to collaborate on this and similar projects!\n\nRegards,  \nDahn.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan-oak%2Fpos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdan-oak%2Fpos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan-oak%2Fpos/lists"}