drime

French rhyme dictionary with web and CLI interface
git clone https://a3nm.net/git/drime/
Log | Files | Refs | README

commit 6e54136be5bfa013ac6d0500a1913b57518f0bc2
parent ef359fe01f263e50a89553dca4a4b3e887369800
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 29 Apr 2012 12:15:31 +0200

more documentation

Diffstat:
README | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/README b/README @@ -26,6 +26,13 @@ from the Lexique3 database <http://lexique.org/>: - lexique2sql.sh takes the tweaked version of Lexique on stdin and produces the SQL database on stdout. +You should therefore run: + + ./lexique_retrieve.sh | ./lexique2sql.sh > output.sql + +If this is not your first attempt, unzip might prompt you about overwriting +existing files. Answer 'A'. + To import the output of lexique2sql.sh in a MySQL database (on localhost, database 'drime', as user 'drime', interactive password authentication), run: @@ -35,7 +42,8 @@ database 'drime', as user 'drime', interactive password authentication), run: sed 's/varchar([0-9]*)/& collate utf8_bin/g' | mysql --default-character-set=utf8 -D drime -u drime -p -To monitor progress, use the pv utility. +To monitor progress, use the pv utility (replace "cat output.sql" by +"pv -l output.sql". == 4. Using the DB ==