From 529fdea499becedfc2ce2ae37c7bc1978f2ffe7f Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 1 Jun 2012 14:22:29 +0000 Subject: [PATCH] some fixes in Synopsis --- lib/doc/synopsis-intro.txt | 3 ++ lib/doc/synopsis.html | 88 +++++++++++++++++++++----------------- 2 files changed, 51 insertions(+), 40 deletions(-) diff --git a/lib/doc/synopsis-intro.txt b/lib/doc/synopsis-intro.txt index 1f8fd6d74..35f4f0891 100644 --- a/lib/doc/synopsis-intro.txt +++ b/lib/doc/synopsis-intro.txt @@ -37,6 +37,9 @@ Other relevant documents: - [The RGL Status Document ./status.html]: the current status of different languages and the authors of each grammar - [RGL Source Browser ./browse]: look up functions and their source code +- [Minibar http://cloud.grammaticalframework.org/minibar/minibar.html]: + find resource grammar expressions by parsing (select Grammar: LibraryBrowser) + or test translations between all languages (select Grammar: ResourceDemo) - [Resource Grammar Tutorial http://www.grammaticalframework.org/doc/gf-lrec-2010.pdf] as presented in LREC-2010. - Paper "The GF Resource Grammar Library" by A. Ranta diff --git a/lib/doc/synopsis.html b/lib/doc/synopsis.html index df08344f4..e149b996e 100644 --- a/lib/doc/synopsis.html +++ b/lib/doc/synopsis.html @@ -55,6 +55,9 @@ Other relevant documents:
  • The RGL Status Document: the current status of different languages and the authors of each grammar
  • RGL Source Browser: look up functions and their source code +
  • Minibar: + find resource grammar expressions by parsing (select Grammar: LibraryBrowser) + or test translations between all languages (select Grammar: ResourceDemo)
  • Resource Grammar Tutorial as presented in LREC-2010.
  • Paper "The GF Resource Grammar Library" by A. Ranta @@ -553,12 +556,12 @@ Lexical category, constructors given in mkAP AP -> S -> AP -
    it is good that she sleeps
    +
    it is good that she sleeps
    mkAP AP -> QS -> AP -
    it is uncertain who sleeps
    +
    it is uncertain who sleeps
    mkAP @@ -742,7 +745,7 @@ Lexical category, constructors given in mkAdv CAdv -> A -> S -> Adv -
    more warmly than he runs
    +
    more warmly than he runs
    mkAdv @@ -925,12 +928,12 @@ Lexical category, constructors given in mkCN N -> NP -> CN -
    king John
    +
    king John
    mkCN CN -> NP -> CN -
    old king John
    +
    old king John
    @@ -1046,6 +1049,11 @@ Lexical category, constructors given in mkCl +NP -> VPSlash -> NP -> Cl +she begs him to sleep here + + +mkCl NP -> A -> Cl
    she is old
    @@ -1092,17 +1100,17 @@ Lexical category, constructors given in mkCl N -> Cl -
    there is a house
    +
    there is a house
    mkCl CN -> Cl -
    there is an old house
    +
    there is an old house
    mkCl NP -> Cl -
    there are many houses
    +
    there are many houses
    mkCl @@ -1117,12 +1125,12 @@ Lexical category, constructors given in mkCl V -> Cl -
    it rains
    +
    it rains
    mkCl VP -> Cl -
    it is raining
    +
    it is raining
    mkCl @@ -1143,12 +1151,12 @@ Lexical category, constructors given in mkClSlash NP -> VPSlash -> ClSlash -
    whom does she see
    +
    whom does she see
    mkClSlash NP -> V2 -> ClSlash -
    whom does she see
    +
    whom does she see
    mkClSlash @@ -1163,7 +1171,7 @@ Lexical category, constructors given in mkClSlash ClSlash -> Adv -> ClSlash -
    whom does she see today
    +
    whom does she see today
    mkClSlash @@ -1669,17 +1677,17 @@ Lexical category, constructors given in mkImp VP -> Imp -
    come to my house
    +
    come to my house
    mkImp V -> Imp -
    come
    +
    come
    mkImp V2 -> NP -> Imp -
    buy it
    +
    buy it
    @@ -1695,7 +1703,7 @@ Lexical category, constructors given in pluralImpForm ImpForm -
    be men
    +
    be men
    politeImpForm @@ -1705,7 +1713,7 @@ Lexical category, constructors given in singularImpForm ImpForm -
    be a man
    +
    be a man
    @@ -1893,42 +1901,42 @@ Lexical category, constructors given in mkNP Quant -> Num -> CN -> NP -
    these five old men
    +
    these five old men
    mkNP Quant -> Num -> N -> NP -
    these five men
    +
    these five men
    mkNP Det -> CN -> NP -
    the five old men
    +
    the five old men
    mkNP Det -> N -> NP -
    the five men
    +
    the five men
    mkNP Numeral -> CN -> NP -
    fifty old men
    +
    fifty old men
    mkNP Numeral -> N -> NP -
    fifty men
    +
    fifty men
    mkNP Digits -> CN -> NP -
    5 1 old men
    +
    5 1 old men
    mkNP Digits -> N -> NP -
    5 1 men
    +
    5 1 men
    mkNP @@ -2261,7 +2269,7 @@ Lexical category, constructors given in mkPhr (PConj) -> Utt -> (Voc) -> Phr -
    but sleep , my friend
    +
    but sleep , my friend
    mkPhr @@ -2281,7 +2289,7 @@ Lexical category, constructors given in mkPhr Imp -> Phr -
    sleep
    +
    sleep
    @@ -2521,17 +2529,17 @@ Lexical category, constructors given in exclMarkPunct Punct -
    yes !
    +
    yes !
    fullStopPunct Punct -
    yes .
    +
    yes .
    questMarkPunct Punct -
    yes ?
    +
    yes ?
    @@ -3176,37 +3184,37 @@ Lexical category, constructors given in mkText Phr -> (Punct) -> (Text) -> Text -
    does she sleep ? yes .
    +
    does she sleep ? yes .
    mkText -Utt -> Text -
    yes .
    +Utt -> (Punct) -> (Text) -> Text +Does she sleep? Yes. mkText S -> Text -
    she slept .
    +
    she slept .
    mkText Cl -> Text -
    she sleeps .
    +
    she sleeps .
    mkText QS -> Text -
    did she sleep ?
    +
    did she sleep ?
    mkText (Pol) -> Imp -> Text -
    don't sleep !
    +
    don't sleep !
    mkText Text -> Text -> Text -
    where ? here . when ? now !
    +
    where ? here . when ? now !
    @@ -3622,7 +3630,7 @@ Lexical category, constructors given in mkVPSlash V2 -> VPSlash -
    whom does she see
    +
    whom does she see
    mkVPSlash