<commit_before>default: build

build-base-moses-smt:
	docker build --rm -t techiaith/moses-smt-base docker/dockerfiles/moses-smt-base

build-techiaith-moses-smt:
	cp mtdk/mt_download_engine.sh dockerfiles/moses-smt
	cp python-server.py dockerfiles/moses-smt
	cp docker-moses.py dockerfiles/moses-smt 
	docker build --rm -t techiaith/moses-smt dockerfiles/moses-smt

build:
	docker build --rm -t techiaith/moses-smt .

clean: 
	docker rmi techiaith/moses-smt

run-CofnodYCynulliad-en-cy:
	docker run --name moses-smt-cofnodycynulliad-en-cy -p 8080:8080 -p 8008:8008 -v $(HOME)/moses-models/:/home/moses/moses-models techiaith/moses-smt start -e CofnodYCynulliad -s en -t cy

run-Meddalwedd-en-cy:
	docker run --name moses-smt-meddalwedd-en-cy -p 8080:8080 -p 8008:8008 techiaith/moses-smt start -e Meddalwedd -s en -t cy<commit_msg>twtio Makefile / tidy up Makefile<commit_after>default: build

build:
	docker build --rm -t techiaith/moses-smt docker

clean: 
	docker rmi techiaith/moses-smt

run-CofnodYCynulliad-en-cy:
	docker run --name moses-smt-cofnodycynulliad-en-cy -p 8080:8080 -p 8008:8008 start -e CofnodYCynulliad -s en -t cy

{'fraction_non_alphanumeric': 0.11619718309859155, 'fraction_numerical': 0.04225352112676056, 'mean_word_length': 3.8382978723404255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4161780', 'n_tokens_mistral': 549, 'n_tokens_neox': 492, 'n_words': 103}