{"id":23468996,"url":"https://github.com/gojp/japanese","last_synced_at":"2025-04-14T15:34:50.742Z","repository":{"id":11534479,"uuid":"14018978","full_name":"gojp/japanese","owner":"gojp","description":"Golang package for Japanese grammar.","archived":false,"fork":false,"pushed_at":"2020-06-09T05:23:38.000Z","size":56,"stargazers_count":50,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T04:28:29.034Z","etag":null,"topics":["go","golang","grammar","japanese","nihongo"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gojp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-31T14:19:53.000Z","updated_at":"2025-01-27T14:29:03.000Z","dependencies_parsed_at":"2022-09-23T23:11:01.559Z","dependency_job_id":null,"html_url":"https://github.com/gojp/japanese","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/gojp%2Fjapanese","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojp%2Fjapanese/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojp%2Fjapanese/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojp%2Fjapanese/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gojp","download_url":"https://codeload.github.com/gojp/japanese/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248906747,"owners_count":21181210,"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":["go","golang","grammar","japanese","nihongo"],"created_at":"2024-12-24T14:55:03.118Z","updated_at":"2025-04-14T15:34:50.710Z","avatar_url":"https://github.com/gojp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/gojp/japanese.svg?branch=master)](https://travis-ci.org/gojp/japanese) [![Go Report Card](https://goreportcard.com/badge/github.com/gojp/japanese)](https://goreportcard.com/report/github.com/gojp/japanese) [![GoDoc](https://godoc.org/github.com/gojp/japanese?status.svg)](https://godoc.org/github.com/gojp/japanese)\n# Japanese\n\nA Go (golang) package for generating the different possible word forms and conjugations in Japanese. \n\nThis is still in the experimental stage. However, later extensions might also include basic grammar parsing, analysis and translation. \n\n## Where this is aiming\n\nA `GetRoot` function that takes a string and returns one or more root forms, along with the rule used to transform it to root form. For example:\n\n```\n\u003e\u003e\u003e roots := japanese.Analyze(\"食べない\")\n\u003e\u003e\u003e root := roots[0]\n\u003e\u003e\u003e fmt.Println(root.Root, root.DictionaryForm, root.Rule)\n食べ 食べる negative\n```\n\n## Examples\nFor the most comprehensive examples, see the `words_test.go` file. \n\nFor the impatient, here's an example of usage right now (subject to change in the future):\n\n    func main() {\n        taberu := Verb{Verb{Word{\"食べる\", \"たべる\"}}\n        kau := Verb{Verb{Word{\"買う\", \"かう\"}}\n        matsu := Verb{Word{\"待つ\", \"まつ\"}}\n\n        fmt.Println(taberu.Negative()) // prints 食べない\n        fmt.Println(kau.Negative())    // prints 買わない\n        fmt.Println(matsu.Negative())  // prints 待たない\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojp%2Fjapanese","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgojp%2Fjapanese","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojp%2Fjapanese/lists"}