{"id":19457637,"url":"https://github.com/mgproduction/nupostagger","last_synced_at":"2026-05-16T09:02:08.253Z","repository":{"id":79204828,"uuid":"400750844","full_name":"MGProduction/nuPOSTAGGER","owner":"MGProduction","description":"a less than 10 Kb English Pos Tagger (working even on a C64)","archived":false,"fork":false,"pushed_at":"2021-08-30T11:23:21.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T01:47:50.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MGProduction.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":"2021-08-28T09:14:27.000Z","updated_at":"2024-07-12T19:32:56.000Z","dependencies_parsed_at":"2023-02-28T19:46:13.318Z","dependency_job_id":null,"html_url":"https://github.com/MGProduction/nuPOSTAGGER","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/MGProduction%2FnuPOSTAGGER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGProduction%2FnuPOSTAGGER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGProduction%2FnuPOSTAGGER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGProduction%2FnuPOSTAGGER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MGProduction","download_url":"https://codeload.github.com/MGProduction/nuPOSTAGGER/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240662325,"owners_count":19837366,"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-10T17:23:14.822Z","updated_at":"2026-05-16T09:02:08.184Z","avatar_url":"https://github.com/MGProduction.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nuPOSTAGGER\n\nA very minimal single .h file (English) PosTagger with no external data to load, less than 10KB of static memory used as engine core data and a single call for postagging of (ANSI) english text - working even on a **C64** (80's 1 Mhz 8bit machine).\n\nParsing is also provided but being at the moment out of the scope of this project is just a space-based word split. Being anyway internal parsing possible, functions to handle dynamic token array are also provided\n\nEmitted output uses standard Penn Treebank POS Tagset (as described for instance here: https://www.sketchengine.eu/penn-treebank-tagset/)\n\n**note**: quality of this postagger is \"poor\" (around 91%). This library is meant to be used when memory (and in part, speed) are the most important issues\n\n## Usage\n\nuse #define NUPOSTAG_IMPLEMENT when you include this .h in your main source file\n\n## Sample calling code\n\n#define NUPOSTAG_IMPLEMENT\n\n#include \"nuPOSTAGGER.h\"\n\nnuTokenbag tokens;\n\nnuTokenbag_new(\u0026tokens);\n\nwhile( -- program need postagging)\n\n {\n \n  char line[MAX_SIZE];\n  \n  -- get text input and put in line\n  \n  nuTokenbag_reset(\u0026tokens);\n  \n  nuPosTag(line,\u0026tokens,nu_doparse);\n  \n  -- use bPos value for each of tokens.nTokens tokens in tokens.Token array for your own need\n     (you can show tag label string from its binary id using nuTagSZ(id) )\n  \n }\n \nnuTokenbag_delete(\u0026tokens);\n\n## Sample projects\n\nIn this repository there are also two console sample projects that uses this little library to let you test its quality.\n\nOne is a generic single file console app that should compile under win / linux / mac (**sampleapp_Generic.c**) and one is slightly different source code meant to be used with **CC65 compiler** [https://cc65.github.io/] to create a **C64** program file (**sampleapp_C64.c**)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgproduction%2Fnupostagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgproduction%2Fnupostagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgproduction%2Fnupostagger/lists"}