make-signifoj.sh
author viric <viriketo@gmail.com>
Fri, 30 Mar 2012 18:55:30 +0200
branchsql
changeset 32 6a1a709330bf
parent 24 026a2ba0ce16
permissions -rwxr-xr-x
Adding code to dump the words as sql.
viric@22
     1
#!/bin/sh
viric@22
     2
viric@23
     3
cat bokarjovrueo.index  slovnyk_ru-en.index zaliznjak.index \
viric@23
     4
    rus_eng_full.index | cut -f 1 | sort | uniq > words.txt
viric@23
     5
viric@23
     6
./prepare_meanings > signifoj.txt
viric@23
     7
viric@24
     8
dictfmt -s "Diversaj vortaroj" -j --locale ca_ES.UTF-8 --allchars --without-headword signifoj < signifoj.txt