diff options
| author | aarne <aarne@chalmers.se> | 2010-03-28 21:13:29 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-03-28 21:13:29 +0000 |
| commit | 04784b7c31bec63c1fa9c17884347c61491f9874 (patch) | |
| tree | a6e884b8cddb50b0d83da08a4be65b5ae6a1bab5 | |
| parent | ccac96eaa0a735612bc2dc4bc8a040c6b354eb54 (diff) | |
fine tuning phrasebook
| -rw-r--r-- | examples/phrasebook/WordsFin.gf | 4 | ||||
| -rw-r--r-- | examples/phrasebook/WordsRon.gf | 2 | ||||
| -rw-r--r-- | examples/phrasebook/phrasebook.html | 40 | ||||
| -rw-r--r-- | examples/phrasebook/phrasebook.txt | 11 |
4 files changed, 43 insertions, 14 deletions
diff --git a/examples/phrasebook/WordsFin.gf b/examples/phrasebook/WordsFin.gf index cb445eadf..140c7a343 100644 --- a/examples/phrasebook/WordsFin.gf +++ b/examples/phrasebook/WordsFin.gf @@ -4,7 +4,7 @@ concrete WordsFin of Words = SentencesFin ** open SyntaxFin, ParadigmsFin, DiffPhrasebookFin in { lin Wine = mkCN (mkN "viini") ; - Beer = mkCN (mkN "olut") ; + Beer = mkCN (mkN "olut" "oluita") ; Water = mkCN (mkN "vesi" "veden" "vesiä") ; Coffee = mkCN (mkN "kahvi") ; Tea = mkCN (mkN "tee") ; @@ -32,7 +32,7 @@ concrete WordsFin of Words = SentencesFin ** Lei = mkCN (mkN "lei") ; AWant p obj = mkCl p want_V2 obj ; - ALike p item = mkCl item like_V2 p ; + ALike p item = mkCl p like_V2 item ; AHave p kind = mkCl p have_V2 (mkNP kind) ; ASpeak p lang = mkCl p (mkV2 (mkV "puhua") partitive) lang ; ALove p q = mkCl p (mkV2 (mkV "rakastaa") partitive) q ; diff --git a/examples/phrasebook/WordsRon.gf b/examples/phrasebook/WordsRon.gf index 6f117fae7..922ee0e71 100644 --- a/examples/phrasebook/WordsRon.gf +++ b/examples/phrasebook/WordsRon.gf @@ -35,7 +35,7 @@ Boring = mkAPA "plictisitor" "plictisitoare" "plictisitori" "plictisitoare" ; Lei = mkCN (mkN "leu" "lei") ;
AWant p obj = mkCl p want_V2 obj ;
- ALike p item = mkCl item like_V2 p ;
+ ALike p item = mkCl p like_V2 item ;
AHave p kind = mkCl p have_V2 (SyntaxRon.mkNP kind) ;
ASpeak p lang = mkCl p (dirV2 (mkV "vorbi")) lang ;
ALove p q = mkCl p (dirV2 (mkV "iubi")) q ;
diff --git a/examples/phrasebook/phrasebook.html b/examples/phrasebook/phrasebook.html index bad1acc4b..ae6c21ee3 100644 --- a/examples/phrasebook/phrasebook.html +++ b/examples/phrasebook/phrasebook.html @@ -14,7 +14,7 @@ History </P> <UL> <LI>Version 0.1, 26 March 2010. Eng, Fin, Fre, Ron; dedicated minibar UI. -<LI>Version 0.2, 28 March. Swe; cat Action; small phrases. +<LI>Version 0.2, 28 March. Swe, Ita; cat Action; small phrases. </UL> <H1>Purpose</H1> @@ -54,7 +54,7 @@ The source code resides in Current status (28 March 2010): </P> <UL> -<LI>available in English, Finnish, French, Romanian, Swedish +<LI>available in English, Finnish, French, Italian, Romanian, Swedish <LI>very small coverage <LI>works on web browsers calling a server <LI>web service not yet released, but preliminarily available @@ -80,21 +80,35 @@ abstract Sentences: general syntactic structures implementable by functor </P> <UL> <LI>concrete by functor SencencesI -<P></P> +</UL> + +<P> abstract Words: words and predicates, typically language-dependent +</P> +<UL> <LI>concrete separate -<P></P> +</UL> + +<P> abstract Greetings: idiomatic phrases, strings with role dependence +</P> +<UL> <LI>concrete separate -<P></P> -abstract Phrasebook: put everything everything together +</UL> + +<P> +abstract Phrasebook: put everything together +</P> +<UL> <LI>concrete separate -<P></P> -resource Roles: param Politeness, Gender -<P></P> -interface DiffPhrasebook: the (so far small) interface for Sentences </UL> +<P> +resource Roles: param Politeness, Gender +</P> +<P> +interface DiffPhrasebook: the (so far small) interface for Sentences +</P> <H1>To Do</H1> <P> Text-based translation interface. @@ -114,6 +128,12 @@ Extract/construct lexica for <LI>places </UL> +<P> +Connection to Google translate, for fall-back and for comparison +</P> +<P> +Feedback facility in the UI. +</P> <!-- html code generated by txt2tags 2.4 (http://txt2tags.sf.net) --> <!-- cmdline: txt2tags -thtml phrasebook.txt --> diff --git a/examples/phrasebook/phrasebook.txt b/examples/phrasebook/phrasebook.txt index ae390f5d3..5d61ad63a 100644 --- a/examples/phrasebook/phrasebook.txt +++ b/examples/phrasebook/phrasebook.txt @@ -60,15 +60,19 @@ Disambiguation, esp. by the parameters in Roles. abstract Sentences: general syntactic structures implementable by functor - concrete by functor SencencesI + abstract Words: words and predicates, typically language-dependent - concrete separate + abstract Greetings: idiomatic phrases, strings with role dependence - concrete separate -abstract Phrasebook: put everything everything together + +abstract Phrasebook: put everything together - concrete separate + resource Roles: param Politeness, Gender interface DiffPhrasebook: the (so far small) interface for Sentences @@ -89,6 +93,11 @@ Extract/construct lexica for - places +Connection to Google translate, for fall-back and for comparison + +Feedback facility in the UI. + + |
