{"id":27348365,"url":"https://github.com/ruggi/linguo","last_synced_at":"2025-04-12T18:17:33.882Z","repository":{"id":57602876,"uuid":"94694164","full_name":"ruggi/linguo","owner":"ruggi","description":"Go NLP library based on Freeling","archived":false,"fork":false,"pushed_at":"2017-09-29T23:10:09.000Z","size":77,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T18:17:12.734Z","etag":null,"topics":["golang","library","nlp"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruggi.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}},"created_at":"2017-06-18T14:58:32.000Z","updated_at":"2025-02-08T02:25:29.000Z","dependencies_parsed_at":"2022-08-27T22:03:16.575Z","dependency_job_id":null,"html_url":"https://github.com/ruggi/linguo","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/ruggi%2Flinguo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruggi%2Flinguo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruggi%2Flinguo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruggi%2Flinguo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruggi","download_url":"https://codeload.github.com/ruggi/linguo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610357,"owners_count":21132924,"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":["golang","library","nlp"],"created_at":"2025-04-12T18:17:30.667Z","updated_at":"2025-04-12T18:17:33.862Z","avatar_url":"https://github.com/ruggi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linguo\n\n![](http://i.imgur.com/LYYiWx5.jpg)\n\nLinguo is a Go [Natural Language Processing](https://en.wikipedia.org/wiki/Natural_language_processing) library.\n\nLinguo is based on [go-freeling](https://github.com/advancedlogic/go-freeling), which is a port of [Freeling](http://nlp.lsi.upc.edu/freeling/). Linguo started as an attempt to clean up and improve go-freeling, adding more features on top of it.\n\nThis is still a WIP and more documentation will follow.\n\n## Usage\n\n`go get -u github.com/ruggi/linguo`\n\n```\nimport \"github.com/ruggi/linguo\"\n\n...\n\nengine := linguo.NewEngine()\nengine.InitNLP(\"./data\", \"en\")\nresult := engine.NLP.Workflow(\"Linguo was a grammar-correcting robot created by Lisa Simpson.\")\n...\n```\n\nNote: Linguo uses [MITIE](https://github.com/mit-nlp/MITIE) for entity extraction, so be sure to have it installed. On MacOS you can just install it with Homebrew:\n\n```\n$ brew install mitie\n```\n\n\nTBC\n\n## Examples\n\nSee `examples/example.go`.\n\n```\n$ go run examples/example.go\nSentence: \"Linguo was a grammar-correcting robot created by Lisa_Simpson .\"\nEntities:\n\t* [NP] Linguo (linguo) 1.0000%\n\t* [VBD] was (be) 1.0000%\n\t* [DT] a (a) 0.5000%\n\t* [VBG] grammar-correcting (grammar-correcting) 1.0000%\n\t* [NN] robot (robot) 1.0000%\n\t* [VBN] created (create) 0.8027%\n\t* [IN] by (by) 0.9972%\n\t* [NP] Lisa_Simpson (lisa_simpson) 1.0000%\n\t* [Fp] . (.) 1.0000%\n\nSentence: \"It is from the eighteenth episode of Season_12 .\"\nEntities:\n\t* [PRP] It (it) 1.0000%\n\t* [VBZ] is (be) 1.0000%\n\t* [IN] from (from) 1.0000%\n\t* [DT] the (the) 1.0000%\n\t* [JJ] eighteenth (18) 0.6002%\n\t* [NN] episode (episode) 1.0000%\n\t* [IN] of (of) 0.9999%\n\t* [NP] Season_12 (season_12) 1.0000%\n\t* [Fp] . (.) 1.0000%\n\nEntities:\n* [PERSON] Linguo 0.6144\n* [PERSON] Lisa Simpson 1.4056\n\nUnknown entities:\n* Season 12 (1)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruggi%2Flinguo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruggi%2Flinguo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruggi%2Flinguo/lists"}