duire

french missing verbs with prefix forms
git clone https://a3nm.net/git/duire/
Log | Files | Refs

read_words.sh (311B)


      1 #!/bin/bash
      2 
      3 # uses WORDS, http://archives.nd.edu/whitaker/dictpage.zip
      4 
      5 WORDS="$1"
      6 tr ',' ' ' <"$WORDS" | tr -d '#' | sed 's/\[.*//' | grep ' N ' |
      7   cut -d' ' -f1 | sort | uniq > la_nouns.txt
      8 tr ',' ' ' <"$WORDS" | tr -d '#' | sed 's/\[.*//' | grep ' V ' |
      9   cut -d' ' -f1 | sort | uniq > la_infinitives.txt
     10