]> git.donarmstrong.com Git - deb_pkgs/scowl.git/blobdiff - src/add-other-forms
New upstream version 2017.01.22
[deb_pkgs/scowl.git] / src / add-other-forms
index 2b50a9d5b31fb9685480370f2333e15cf6be8862..921033910350ccd68f290e0010c728615a21a08d 100755 (executable)
@@ -5,7 +5,8 @@ open F, "r/alt12dicts/2of12id.txt" or die;
 while (<F>) {
   s/\r?\n$// or die;
   # (uncommon flag, base word, part of speach, inflected forms)
-  ($d,$w,$p,$a) = /^([-@]?)(\w+) (.).*: ?(.*?)$/ or die;
+  ($d,$w,$p,$a) = /^([-@\+]?)(\w+) (.).*: ?(.*?)$/ or die;
+  $d =~ tr/+//d;
   next if $d; #
   @a0 = split /  /, $a;
   splice @a0, -1, 0, "'" if $p eq 'V' && @a0 >= 3; # insert placeholder