{"id":21048456,"url":"https://github.com/torao/samplecode.mallet-lda","last_synced_at":"2026-05-20T07:36:20.741Z","repository":{"id":146622505,"uuid":"99228166","full_name":"torao/samplecode.mallet-lda","owner":"torao","description":"Mallet Training, Prediction Sample","archived":false,"fork":false,"pushed_at":"2017-08-30T11:47:23.000Z","size":39421,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-17T18:52:57.393Z","etag":null,"topics":["gibbs-sampling","java","lda","machine-learning","mallet","scala"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/torao.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":"2017-08-03T12:02:01.000Z","updated_at":"2018-08-20T00:44:56.000Z","dependencies_parsed_at":"2023-04-19T03:04:10.724Z","dependency_job_id":null,"html_url":"https://github.com/torao/samplecode.mallet-lda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/torao/samplecode.mallet-lda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torao%2Fsamplecode.mallet-lda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torao%2Fsamplecode.mallet-lda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torao%2Fsamplecode.mallet-lda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torao%2Fsamplecode.mallet-lda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torao","download_url":"https://codeload.github.com/torao/samplecode.mallet-lda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torao%2Fsamplecode.mallet-lda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33250372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gibbs-sampling","java","lda","machine-learning","mallet","scala"],"created_at":"2024-11-19T14:43:31.784Z","updated_at":"2026-05-20T07:36:20.722Z","avatar_url":"https://github.com/torao.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample Code for Mallet LDA (ParallelTopicModel)\n\n[Mallet](http://mallet.cs.umass.edu/) の gibbs-sampling LDA を使用してドキュメントのトピック分類を行うサンプルコード。\n\n1. 学習用とトピック推定用に使用するデータは1行に1ドキュメントが保存されているテキストファイル。\n2. 日本語の形態素解析には [Kuromoji](https://www.atilika.com/ja/products/kuromoji.html) + [NEologd](https://github.com/neologd/mecab-ipadic-neologd) を使用している。\n\n```\n$ sbt \"runMain train.txt --predict predict.txt\"\n```\n\nMaven に登録されているライブラリを使用しているが、Mallet のサイトからコマンドライン版がダウンロードできる。\nコマンドラインで使用するには [Getting Started with Topic Modeling and MALLET](https://programminghistorian.org/lessons/topic-modeling-and-mallet) のチュートリアルを参照。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorao%2Fsamplecode.mallet-lda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorao%2Fsamplecode.mallet-lda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorao%2Fsamplecode.mallet-lda/lists"}