summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2fb2148de8d24ef4e4fdc09e8bd202568f6baa29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.POSIX:

download:
	poetry run download-emnist
	poetry run download-nltk
	poetry run download-iam

generate:
	poetry run generate-emnist-lines 
	poetry run generate-iam-lines
	poetry run generate-iam-paragraphs
	poetry run generate-iam-synthetic-paragraphs
	poetry run extract-iam-text --use_words --save_text train.txt --save_tokens letters.txt
	poetry run make-wordpieces --output_prefix iamdb_1kwp --text_file train.txt --num_pieces 1000

.PHONY: download generate