summaryrefslogtreecommitdiff
path: root/Makefile
blob: abfd56de91982dfa41587f0595ec92aee6e07dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.POSIX:

check:
	nox

install:
	poetry install

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: install download generate