aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-07 17:21:49 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-07 17:24:24 +0200
commit55d0f53f7aa6298cde818cdb637d3d6f7b29ecf1 (patch)
tree34e0d992e5312301e76e14bcc154d7f78248f9ce
parent20fcf2a0c79b8433bf67594d45af54001ca1b613 (diff)
downloadtdv-55d0f53f7aa6298cde818cdb637d3d6f7b29ecf1.tar.gz
tdv-55d0f53f7aa6298cde818cdb637d3d6f7b29ecf1.tar.xz
tdv-55d0f53f7aa6298cde818cdb637d3d6f7b29ecf1.zip
Abandon the idea of sts for slovnik-cizich-slov
We'd need something like inlining the type sequence within the data, which doesn't seem particularly elegant.
-rwxr-xr-xdicts/slovnik-cizich-slov.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/dicts/slovnik-cizich-slov.sh b/dicts/slovnik-cizich-slov.sh
index bc6bd9a..343b98f 100755
--- a/dicts/slovnik-cizich-slov.sh
+++ b/dicts/slovnik-cizich-slov.sh
@@ -1,7 +1,6 @@
#!/bin/sh -e
# Slovník cizích slov, see https://slovnik-cizich-slov.abz.cz/web.php/o-slovniku
-# TODO: Skipping the optional pronunciation field, tabfile can't handle it yet,
-# but could be made to accept a lowercase sametypesequence
+# XXX: skipping the /optional/ pronunciation field, tabfile can't handle that
curl -Lo- https://slovnik-cizich-slov.abz.cz/export.php | \
iconv -f latin2 -t UTF-8 | perl -CSD -F\\\| -le '
print "$_\t" . $F[2] =~ s/\\/\\\\/gr =~ s/; /\\n/gr for split(", ", $F[0])