From 997ca76c1b9a5e8d94df365fc19160d03975b8d1 Mon Sep 17 00:00:00 2001
From: aarne
Date: Sun, 28 Mar 2010 21:13:29 +0000
Subject: [PATCH] fine tuning phrasebook
---
examples/phrasebook/WordsFin.gf | 4 +--
examples/phrasebook/WordsRon.gf | 2 +-
examples/phrasebook/phrasebook.html | 50 ++++++++++++++++++++---------
examples/phrasebook/phrasebook.txt | 11 ++++++-
4 files changed, 48 insertions(+), 19 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
- Version 0.1, 26 March 2010. Eng, Fin, Fre, Ron; dedicated minibar UI.
-
- Version 0.2, 28 March. Swe; cat Action; small phrases.
+
- Version 0.2, 28 March. Swe, Ita; cat Action; small phrases.
Purpose
@@ -54,7 +54,7 @@ The source code resides in
Current status (28 March 2010):
-- available in English, Finnish, French, Romanian, Swedish
+
- available in English, Finnish, French, Italian, Romanian, Swedish
- very small coverage
- works on web browsers calling a server
- web service not yet released, but preliminarily available
@@ -80,21 +80,35 @@ 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
-
- concrete separate
-
-resource Roles: param Politeness, Gender
-
-interface DiffPhrasebook: the (so far small) interface for Sentences
+
+abstract Words: words and predicates, typically language-dependent
+
+
+
+
+abstract Greetings: idiomatic phrases, strings with role dependence
+
+
+
+
+abstract Phrasebook: put everything together
+
+
+
+
+resource Roles: param Politeness, Gender
+
+
+interface DiffPhrasebook: the (so far small) interface for Sentences
+
To Do
Text-based translation interface.
@@ -114,6 +128,12 @@ Extract/construct lexica for
- places
+
+Connection to Google translate, for fall-back and for comparison
+
+
+Feedback facility in the UI.
+
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.
+
+