greek-morphology: add csv

This commit is contained in:
2022-08-16 20:22:46 +02:00
parent d5a38cf84e
commit 688e141047
3 changed files with 87 additions and 0 deletions

6
greek-morphology/fetch.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
FILE=$(mktemp)
OUTDIR=$(mktemp -d)
curl -sSL 'https://www.mobileread.com/forums/attachment.php?attachmentid=135188&d=1424683732' -o "$FILE"
unzip "$FILE" -d "$OUTDIR"
sed '/^#/d' "$OUTDIR"/*.txt > input.txt