English complete (but needs more testing)

This commit is contained in:
aarne
2005-01-18 16:16:29 +00:00
parent 922dcce2b8
commit 027539d4e2
10 changed files with 464 additions and 79 deletions

View File

@@ -211,5 +211,15 @@ oper
contractNot : Str -> Str = \is -> variants {is ++ "not" ; is + "n't"} ;
dont = contractNot (verbP3Do.s ! InfImp) ;
-- From $numerals$.
param DForm = unit | teen | ten ;
oper mkNum : Str -> Str -> Str -> {s : DForm => Str} =
\two -> \twelve -> \twenty ->
{s = table {unit => two ; teen => twelve ; ten => twenty}} ;
oper regNum : Str -> {s : DForm => Str} =
\six -> mkNum six (six + "teen") (six + "ty") ;
} ;