{"id":19098479,"url":"https://github.com/winkjs/wink-pos-tagger","last_synced_at":"2025-08-21T11:33:16.031Z","repository":{"id":47969158,"uuid":"111198123","full_name":"winkjs/wink-pos-tagger","owner":"winkjs","description":"English Part-of-speech (POS) tagger","archived":false,"fork":false,"pushed_at":"2023-02-27T17:26:22.000Z","size":1888,"stargazers_count":64,"open_issues_count":4,"forks_count":10,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-14T07:52:54.235Z","etag":null,"topics":["nlp","part-of-speech","pos","tagger","wink"],"latest_commit_sha":null,"homepage":"http://winkjs.org/wink-pos-tagger/","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/winkjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-11-18T10:59:30.000Z","updated_at":"2024-04-11T03:48:33.000Z","dependencies_parsed_at":"2023-01-31T12:15:14.302Z","dependency_job_id":"876d5414-6dc1-4903-8a46-81ae57d2ab21","html_url":"https://github.com/winkjs/wink-pos-tagger","commit_stats":{"total_commits":132,"total_committers":3,"mean_commits":44.0,"dds":0.0757575757575758,"last_synced_commit":"4644f90dd4f88a2758cde360956f58bcfee810d7"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winkjs%2Fwink-pos-tagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winkjs%2Fwink-pos-tagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winkjs%2Fwink-pos-tagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winkjs%2Fwink-pos-tagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winkjs","download_url":"https://codeload.github.com/winkjs/wink-pos-tagger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230085914,"owners_count":18170561,"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":["nlp","part-of-speech","pos","tagger","wink"],"created_at":"2024-11-09T03:46:01.352Z","updated_at":"2024-12-19T23:13:56.083Z","avatar_url":"https://github.com/winkjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wink-pos-tagger\n\nEnglish Part-of-speech (POS) tagger\n\n### [![Build Status](https://api.travis-ci.org/winkjs/wink-pos-tagger.svg?branch=master)](https://travis-ci.org/winkjs/wink-pos-tagger) [![Coverage Status](https://coveralls.io/repos/github/winkjs/wink-pos-tagger/badge.svg?branch=master)](https://coveralls.io/github/winkjs/wink-pos-tagger?branch=master) [![Inline docs](http://inch-ci.org/github/winkjs/wink-pos-tagger.svg?branch=master)](http://inch-ci.org/github/winkjs/wink-pos-tagger) [![dependencies Status](https://david-dm.org/winkjs/wink-pos-tagger/status.svg)](https://david-dm.org/winkjs/wink-pos-tagger) [![devDependencies Status](https://david-dm.org/winkjs/wink-pos-tagger/dev-status.svg)](https://david-dm.org/winkjs/wink-pos-tagger?type=dev) [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/winkjs/Lobby)\n\n[\u003cimg align=\"right\" src=\"https://decisively.github.io/wink-logos/logo-title.png\" width=\"100px\" \u003e](http://winkjs.org/)\n\nPerform part-of-speech tagging of english sentences using **`wink-pos-tagger`**. It is based on transformation based learning (TBL) approach pioneered by Eric Brill.\n\nOptimized for performance, it _pos-tags_ and _lemmatizes_ over **525,000 tokens per second** with an accuracy of **93.2%** on the standard WSJ22-24 test set. This was [benchmarked](https://github.com/bestiejs/benchmark.js) on 2.2 GHz Intel Core i7 machine with 16GB RAM using its `tagRawTokens()` API.\n\n### Installation\n\nUse [npm](https://www.npmjs.com/package/wink-pos-tagger) to install:\n\n    npm install wink-pos-tagger --save\n\n### Getting Started\nThe code below illustrates the steps required to pos tag a sentence:\n```javascript\n// Load wink-pos-tagger.\nvar posTagger = require( 'wink-pos-tagger' );\n\n// Create an instance of the pos tagger.\nvar tagger = posTagger();\n\n// Tag the sentence using the tag sentence api.\ntagger.tagSentence( 'He is trying to fish for fish in the lake.' );\n// -\u003e [ { value: 'He', tag: 'word', normal: 'he', pos: 'PRP' },\n//      { value: 'is', tag: 'word', normal: 'is', pos: 'VBZ', lemma: 'be' },\n//      { value: 'trying', tag: 'word', normal: 'trying', pos: 'VBG', lemma: 'try' },\n//      { value: 'to', tag: 'word', normal: 'to', pos: 'TO' },\n//      { value: 'fish', tag: 'word', normal: 'fish', pos: 'VB', lemma: 'fish' },\n//      { value: 'for', tag: 'word', normal: 'for', pos: 'IN' },\n//      { value: 'fish', tag: 'word', normal: 'fish', pos: 'NN', lemma: 'fish' },\n//      { value: 'in', tag: 'word', normal: 'in', pos: 'IN' },\n//      { value: 'the', tag: 'word', normal: 'the', pos: 'DT' },\n//      { value: 'lake', tag: 'word', normal: 'lake', pos: 'NN', lemma: 'lake' },\n//      { value: '.', tag: 'punctuation', normal: '.', pos: '.' } ]\n```\n\nNotice the way instances of the word \"fish\" have been tagged as **verb** and **noun**.\n\n### Documentation\nCheck out the [pos tagger API documentation](http://winkjs.org/wink-pos-tagger/) to learn more.\n\n### Need Help?\n\nIf you spot a bug and the same has not yet been reported, raise a new [issue](https://github.com/winkjs/wink-pos-tagger/issues) or consider fixing it and sending a pull request.\n\n### About wink\n[Wink](http://winkjs.org/) is a family of open source packages for **Statistical Analysis**, **Natural Language Processing** and **Machine Learning** in NodeJS. The code is **thoroughly documented** for easy human comprehension and has a **test coverage of ~100%** for reliability to build production grade solutions.\n\n### Copyright \u0026 License\n\n**wink-pos-tagger** is copyright 2017-19 [GRAYPE Systems Private Limited](http://graype.in/).\n\nIt is licensed under the terms of the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinkjs%2Fwink-pos-tagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinkjs%2Fwink-pos-tagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinkjs%2Fwink-pos-tagger/lists"}