amake / moses-smt Goto Github PK
View Code? Open in Web Editor NEWDock You a Moses: Moses Statistical MT in a container
License: MIT License
Dock You a Moses: Moses Statistical MT in a container
License: MIT License
Just a heads up: I got an error when pulling from docker hub:
docker pull amake/moses-smt
Using default tag: latest
Error response from daemon: manifest for amake/moses-smt:latest not found
I just rebuilt locally, works like a dream! Thanks for this repo, you saved me a million hours of tedium ๐ฅ
Hi Aaron,
I'd like to set up and train a local instance of moses-smt and then use it through OmegaT to see if it would help with my translation work (patents Ja>En), but I'm receiving the following error when executing "make SOURCE_LANG=JA TARGET_LANG=EN".
4ka0-laptop:~ Jage$ git clone https://github.com/amake/moses-smt.git
Cloning into 'moses-smt'...
remote: Counting objects: 322, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 322 (delta 4), reused 9 (delta 4), pack-reused 312
Receiving objects: 100% (322/322), 43.60 KiB | 579.00 KiB/s, done.
Resolving deltas: 100% (178/178), done.
...
4ka0-laptop:moses-smt Jage$ ls
Dockerfile makefile
Dockerrun.aws.image.json mosesxmlrpcrepl.py
Dockerrun.aws.noimage.json test.sh
LICENSE tmx-train
README.md tmx-tune
base work
4ka0-laptop:moses-smt Jage$ make SOURCE_LANG=JA TARGET_LANG=EN
LC_ALL=C virtualenv env
New python executable in /Volumes/Untitled/mac local jobs/archive/moses-smt/env/bin/python
Installing setuptools, pip, wheel...done.
env/bin/pip install git+https://github.com/amake/tmx2corpus.git
make: env/bin/pip: No such file or directory
make: *** [env/bin/tmx2corpus] Error 1
I've tried manually downloading tmx2corpus from your repository on GitHub and placing the whole folder in env/bin but I'm guessing that's not what its looking for.
I have Homebrew 1.6.4, Docker 18.03.1-ce-mac65, Python 2.7.10, pip 10.0.1, and virtualenv 15.10.1 installed on High Sierra 10.13.4.
Any advice you could provide here would be a big help.
Thanks,
Jon
Hi, amake. Great docker! Thanks for it.
I have some issues with decoder.
Finally i've localized my problem as follows:
Using phrase-model from http://www.statmt.org/moses/?n=Moses.Tutorial
wget http://www.statmt.org/moses/download/sample-models.tgz
tar zxvf sample-models.tgz
/opt/bin/moses/bin/moses -f phrase-model/moses.ini
i am getting
Reading phrase-model/phrase-table
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
****************************************************************************************************
Created input-output object : [0.692] seconds
hi
Translating: hi
Line 0: Initialize search took 0.000 seconds total
Line 0: Collecting options took 0.000 seconds at moses/Manager.cpp Line 141
Line 0: Search took 0.000 seconds
Segmentation fault
Actually i have the same error with my trained model too. Could you please advice?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.