forked from GitHub/gf-core
gfdoc & rem dutch
This commit is contained in:
@@ -2,26 +2,43 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||
<TITLE> Numerals</TITLE>
|
||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||
<P ALIGN="center"><CENTER><H1> Numerals</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 17 15:24:34 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<UL>
|
||||
<LI><A HREF="#toc1">Numerals</A>
|
||||
</UL>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<P>
|
||||
Last update: Mon Jan 16 22:47:51 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
gfdoc - a rudimentary GF document generator.
|
||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||
</P>
|
||||
<A NAME="toc1"></A>
|
||||
<H1>Numerals</H1>
|
||||
<P>
|
||||
numerals from 1 to 999999 in decimal notation
|
||||
This grammar defines numerals from 1 to 999999.
|
||||
The implementations are adapted from the
|
||||
<A HREF="http://www.cs.chalmers.se/~aarne/GF/examples/numerals/">numerals library</A>
|
||||
which defines numerals for 88 languages.
|
||||
The resource grammar implementations add to this inflection (if needed)
|
||||
and ordinal numbers.
|
||||
<B>Note</B>. Number 1 as defined
|
||||
in the category <CODE>Numeral</CODE> here should not be used in the formation of
|
||||
noun phrases, and should therefore be removed. Instead, one should use
|
||||
<A HREF="Structural.html">Structural</A><CODE>.one_Quant</CODE>. This makes the grammar simpler
|
||||
because we can assume that numbers form plural noun phrases.
|
||||
</P>
|
||||
<PRE>
|
||||
abstract Numeral = Cat ** {
|
||||
@@ -52,10 +69,11 @@ numerals from 1 to 999999 in decimal notation
|
||||
pot2as3 : Sub1000 -> Sub1000000 ; -- coercion of 1..999
|
||||
pot3 : Sub1000 -> Sub1000000 ; -- m * 1000
|
||||
pot3plus : Sub1000 -> Sub1000 -> Sub1000000 ; -- m * 1000 + n
|
||||
|
||||
}
|
||||
</PRE>
|
||||
<P></P>
|
||||
|
||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
|
||||
<!-- cmdline: txt2tags -thtml -\-toc abstract/Numeral.txt -->
|
||||
</BODY></HTML>
|
||||
|
||||
Reference in New Issue
Block a user