frhyme

guess the last phonemes of a French word (local mirror of https://gitlab.com/a3nm/frhyme)
git clone https://a3nm.net/git/frhyme/
Log | Files | Refs | README | LICENSE

make.sh (178B)


      1 #!/bin/bash
      2 
      3 NUM=$1
      4 shift
      5 
      6 cat $* | ./truncate.sh $NUM |
      7   rev | awk --field-separator="\t" '{printf "%s\t%s\n", $2, $1}' |
      8   ../frhyme/buildtrie.py | ../frhyme/compresstrie.py
      9