new-words

diff INSTALL.sh @ 12:4bbe553c1ee2

Удаление суффиксов в английских словах.

+ функция для поиска похожих слов similarity,
но она пока, хотя и присутствует в коде,
но не используется
author Igor Chubin <igor@chub.in>
date Sat Apr 03 00:27:00 2010 +0300 (2010-04-03)
parents
children 416394a87d9f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/INSTALL.sh	Sat Apr 03 00:27:00 2010 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +if [ "$UID" == 0 ]
     1.7 +then
     1.8 +    DEST=/usr/local/bin/
     1.9 +else
    1.10 +    DEST=~/bin/
    1.11 +    mkdir -p ~/bin/
    1.12 +fi
    1.13 +
    1.14 +echo Installing new-words to "$DEST"
    1.15 +set -e
    1.16 +cp en.sh "${DEST}"/en
    1.17 +cp grep-sentences.pl "${DEST}"/grep-sentences
    1.18 +cp learn-words.sh "${DEST}"/learn-words
    1.19 +cp new-words.sh "${DEST}"/new-words
    1.20 +chmod +x ${DEST}/grep-sentences ${DEST}/learn-words ${DEST}/new-words ${DEST}/en
    1.21 +echo Done.
    1.22 +