bac10487f1
Reported by: linimon
10 lines
542 B
Bash
10 lines
542 B
Bash
--- genchars.sh.orig 2001-08-13 18:30:48.000000000 +0900
|
|
+++ genchars.sh 2011-08-21 23:37:29.000000000 +0900
|
|
@@ -1,6 +1,6 @@
|
|
#! /bin/sh
|
|
|
|
-ruby -rromkan -nle 'head = split[0]; if /^\w+$/ =~ head then puts head else roma = head.to_roma; puts roma, roma.to_kunrei end' migemo-dict |uniq> tmp.ascii.words
|
|
+ruby -Ke -rromkan -nle 'head = $_.split[0]; if /^\w+$/ =~ head then puts head else roma = head.to_roma; puts roma, roma.to_kunrei end' migemo-dict |uniq> tmp.ascii.words
|
|
|
|
# Get the top 500 frequent ngrams.
|
|
for i in 1 2 3 4 5 6 7 8; do
|