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.
This commit is contained in:
parent
20fcf2a0c7
commit
55d0f53f7a
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Slovník cizích slov, see https://slovnik-cizich-slov.abz.cz/web.php/o-slovniku
|
# 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,
|
# XXX: skipping the /optional/ pronunciation field, tabfile can't handle that
|
||||||
# but could be made to accept a lowercase sametypesequence
|
|
||||||
curl -Lo- https://slovnik-cizich-slov.abz.cz/export.php | \
|
curl -Lo- https://slovnik-cizich-slov.abz.cz/export.php | \
|
||||||
iconv -f latin2 -t UTF-8 | perl -CSD -F\\\| -le '
|
iconv -f latin2 -t UTF-8 | perl -CSD -F\\\| -le '
|
||||||
print "$_\t" . $F[2] =~ s/\\/\\\\/gr =~ s/; /\\n/gr for split(", ", $F[0])
|
print "$_\t" . $F[2] =~ s/\\/\\\\/gr =~ s/; /\\n/gr for split(", ", $F[0])
|
||||||
|
|
Loading…
Reference in New Issue