{"id":26121663,"url":"https://github.com/hominsu/moses-docker","last_synced_at":"2026-04-17T16:04:09.244Z","repository":{"id":204845477,"uuid":"703435115","full_name":"hominsu/moses-docker","owner":"hominsu","description":"Docker build for mosesdecoder","archived":false,"fork":false,"pushed_at":"2023-10-31T12:50:27.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-01T09:25:31.774Z","etag":null,"topics":["docker","docker-container","docker-image","dockerfile","moses","moses-installer","moses-machine-translation","mosesdecoder"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/hominsu.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}},"created_at":"2023-10-11T08:37:38.000Z","updated_at":"2023-11-01T09:25:33.587Z","dependencies_parsed_at":null,"dependency_job_id":"83fe7e73-7bdf-456a-a832-eed7d07f0830","html_url":"https://github.com/hominsu/moses-docker","commit_stats":null,"previous_names":["hominsu/moses-docker"],"tags_count":4,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hominsu%2Fmoses-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hominsu%2Fmoses-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hominsu%2Fmoses-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hominsu%2Fmoses-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hominsu","download_url":"https://codeload.github.com/hominsu/moses-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242865711,"owners_count":20197944,"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":["docker","docker-container","docker-image","dockerfile","moses","moses-installer","moses-machine-translation","mosesdecoder"],"created_at":"2025-03-10T14:24:30.084Z","updated_at":"2026-04-17T16:04:09.230Z","avatar_url":"https://github.com/hominsu.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT SHIELDS --\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/hominsu/moses-docker/graphs/contributors\"\u003e\u003cimg src=\"https://img.shields.io/github/contributors/hominsu/moses-docker.svg?style=for-the-badge\" alt=\"Contributors\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/hominsu/moses-docker/network/members\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/hominsu/moses-docker.svg?style=for-the-badge\" alt=\"Forks\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/hominsu/moses-docker/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/hominsu/moses-docker.svg?style=for-the-badge\" alt=\"Stargazers\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/hominsu/moses-docker/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/hominsu/moses-docker.svg?style=for-the-badge\" alt=\"Issues\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/hominsu/moses-docker/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/hominsu/moses-docker.svg?style=for-the-badge\" alt=\"License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/hominsu/moses-docker/actions/workflows/docker-publish.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/hominsu/moses-docker/docker-deploy.yml?branch=main\u0026style=for-the-badge\" alt=\"Deploy\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr/\u003e\n\u003cdiv align=\"center\"\u003e\n\n\u003ch3 align=\"center\"\u003emoses-docker\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    This project prepares a minimalist Docker image with mosesdecoder.\n    \u003cbr/\u003e\n    \u003cbr/\u003e\n    \u003ca href=\"#Examples\"\u003eExamples\u003c/a\u003e\n    ·\n    \u003ca href=\"#Building\"\u003eBuilding\u003c/a\u003e\n    ·\n    \u003ca href=\"#License\"\u003eLicense\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Examples\n\nAll the scripts and binaries are placed in `/moses/script/` and `/moses/bin/`.\n\n```bash\nmkdir -p workspace\ndocker pull hominsu/moses:latest\ndocker run -v ./workspace:/workspace -it --rm hominsu/moses:latest /bin/bash\n```\n\nFor examples.\n\n- Use `multi-bleu.perl` to evaluate bleu.\n\n  ```bash\n  /moses/scripts/generic/multi-bleu.perl -lc ../corpus/tst.clean.en \u003c tst.translated.en\n  ```\n\n- Use `moses` to translate the test set.\n\n  ```bash\n  /moses/bin/moses -f ./filtered-corpus/moses.ini \u003c ../corpus/tst.clean.zh \u003e tst.translated.en 2\u003e tst.out\n  ```\n\n### Notice!!!\n\nUse `Multi-threaded GIZA++` as the word alignment tool here, so while you are training, you need to specify the word\nalignment tool as MGIZA.\n\n```bash\n/moses/scripts/training/train-model.perl -root-dir train -corpus ../corpus/train.clean -f zh -e en -alignment grow-diag-final-and -reordering msd-bidirectional-fe -lm 0:3:$(pwd)/../lm/train.blm.en:8 -mgiza -mgiza-cpus 64 -cores 64 -external-bin-dir /usr/local/bin \u003e\u0026 training.out\n```\n\n## Building\n\nThis project requires Docker.\n\nWith the `platform` option, build any platform you want.\n\n```shell\ndocker buildx bake --file ./docker-bake.hcl --load --set \"*.platform=linux/amd64\"\n```\n\n## License\n\nDistributed under the MIT license. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhominsu%2Fmoses-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhominsu%2Fmoses-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhominsu%2Fmoses-docker/lists"}