summaryrefslogtreecommitdiff
path: root/src/ui/android/assets
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/android/assets')
-rw-r--r--src/ui/android/assets/help_content.html157
-rw-r--r--src/ui/android/assets/phrases.xml1035
2 files changed, 0 insertions, 1192 deletions
diff --git a/src/ui/android/assets/help_content.html b/src/ui/android/assets/help_content.html
deleted file mode 100644
index 279a2a963..000000000
--- a/src/ui/android/assets/help_content.html
+++ /dev/null
@@ -1,157 +0,0 @@
-<html>
-<body>
-</p>
-<b>GF Offline Translator</b>:
-text and speech translation for 16 languages with
-quality control. Version 19 April 2017 (beta).
-</p>
-<p>
-<b>Speech input</b>: Tap microphone icon and talk while it is red.
-<br>
-<b>Text input</b>: Select "keyboard" from menu, tap keyboard icon.
-<br>
-<b>Correction</b>: Tap input text and edit.
-<br>
-<b>Alternatives</b>: Tap output text.
-<br>
-<b>Grammar info</b>: Tap any of the alternatives.
-<br>
-<b>Confidence</b>: colour of output text
-<ul>
-<li><span style="background-color:palegreen">Green</span>: semantic, probably correct (but has alternatives)</li>
-<li><span style="background-color:yellow">Yellow</span>: syntactic, often incorrect (has alternatives)</li>
-<li><span style="background-color:pink">Light red</span>: chunk-based, probably incorrect (has alternatives)</li>
-<li><span style="background-color:red">Dark red</span>: word-based, often very bad</li>
-</ul>
-<br>
-<b>Topics</b> (new, select from menu): Words grouped by semantic categories, with WordNet glosses.
-<br>
-<b>Phrasebook</b> (new, select from menu): Conceptual authoring with the green translations.
-</p>
-
-<hr>
-
-<h2>More details</h2>
-<p>
-GF Offline Translator is based on grammar and semantics. It is compact in size
-and gives control on quality. Its technology is inspired by compilers, which are
-programs that translate computer languages.
-Most other translators for human language are based on
-statistics and have less control of quality and are much bigger, so that
-they require either an internet connection or a huge storage on your phone.
-</p>
-The app indicates translation confidence with colours:
-<ul>
- <li><b>Green</b>:
- semantic translation, should be correct.
- But not necessarily the only correct one.
- You can tap the output to see alternatives.
- </li>
- <li><b>Yellow</b>:
- syntactic translation, should be grammatically correct.
- But can be very strange in its interpretation and choice of words.
- </li>
- <li><b>Light red</b>:
- chunk translation, probably incorrect.
- Builds the translation from small pieces.
- </li>
- <li><b>Dark red</b>:
- word-by-word translation, almost certainly incorrect.
- Builds the translation word by word.
- </li>
-</ul>
-The green translations come from a tourist phrasebook, which allows
-you to translate things like "hello" and "how far is the airport from
-the hotel".
-</p>
-
-<p>
-You can translate both speech and text, as selected in the menu in the
-upper right corner. Both kinds of input can be edited with the
-keyboard by first tapping at the input field. This is often needed
-because of <b>speech recognition errors</b>. Changing words
-from <b>upper to lower case</b> may also be needed.
-At the moment, <b>Japanese</b> and <b>Thai</b> input must be separated
-to words, whereas Chinese works without spaces.
-</p>
-<p>
-Translation works between any of the 16 supported languages, which means 240
-language pairs in the current version. But different languages are on different levels of development.
-The following table gives a rough idea of what to expect:
-</p>
-
-<p>
-<center>
-<table rules=all border=yes>
-<tr> <th></th> <th>coverage</th> <th>quality</th> <th>speed</th> <th>speech</th> </tr>
-<tr> <th>Bulgarian</th> <td bgcolor=yellow></td> <td bgcolor=yellow></td><td bgcolor=palegreen></td> <td bgcolor=yellow>in only</td></tr>
-<tr> <th>Catalan</th> <td bgcolor=pink></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=yellow></td></tr>
-<tr> <th>Chinese</th> <td bgcolor=pink></td> <td bgcolor=pink></td> <td bgcolor=palegreen></td> <td bgcolor=yellow></td> </tr>
-<tr> <th>Dutch</th> <td bgcolor=yellow></td> <td bgcolor=yellow></td> <td bgcolor=yellow></td> <td bgcolor=palegreen></td> </tr>
-<tr> <th>English</th> <td bgcolor=palegreen></td> <td bgcolor=palegreen></td> <td bgcolor=palegreen></td> <td bgcolor=palegreen></td> </tr>
-<tr> <th>Estonian</th> <td bgcolor=yellow></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=red></td></tr>
-<tr> <th>Finnish</th> <td bgcolor=yellow></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=yellow></td></tr>
-<tr> <th>French</th> <td bgcolor=pink></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=palegreen></td></tr>
-<tr> <th>German</th> <td bgcolor=pink></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=palegreen></td></tr>
-<tr> <th>Hindi</th> <td bgcolor=pink></td> <td bgcolor=red></td> <td bgcolor=yellow></td> <td bgcolor=yellow></td> </tr>
-<tr> <th>Italian</th> <td bgcolor=pink></td> <td bgcolor=pink></td><td bgcolor=pink></td> <td bgcolor=palegreen></td></tr>
-<tr> <th>Japanese*</th><td bgcolor=pink></td> <td bgcolor=pink></td><td bgcolor=yellow></td> <td bgcolor=palegreen></td></tr>
-<tr> <th>Russian</th> <td bgcolor=pink></td> <td bgcolor=red></td> <td bgcolor=yellow></td> <td bgcolor=yellow></td> </tr>
-<tr> <th>Spanish</th> <td bgcolor=pink></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=palegreen></td></tr>
-<tr> <th>Swedish</th> <td bgcolor=yellow></td> <td bgcolor=yellow></td> <td bgcolor=palegreen></td> <td bgcolor=yellow></td></tr>
-<tr> <th>Thai*</th> <td bgcolor=pink></td> <td bgcolor=pink></td><td bgcolor=yellow></td> <td bgcolor=palegreen></td></tr>
-</table>
-</center>
-* For translation from Japanese and Thai you need to separate each word with a space
-</p>
-<p>
-The speech input and output use Google's voice services. Their status
-can hence change without notice. You can make it more stable by
-installing third-party speech tools, such as SVOX, which provides
-output for most of the listed languages.
-</p>
-
-<p>
-When you tap on a translation you get a screen with <b>alternative translations</b>.
-Tapping on each of the alternatives
-gives you <b>grammatical information</b>:
-an inflection table, if it is a single word,
-and a syntax tree otherwise.
-</p>
-
-<p>
-The app also provides an <b>input method</b> which you can use as
-an alternative keyboard which allows you to do translation from
-other applications, for instance while you are entering SMS or e-mail.
-To activate it go to Settings > Language &amp; input.
-</p>
-
-<p>
-The translation works <b>completely off-line</b>, without
-internet connection, when doing text-based translation.
-Even speech works off-line in some languages,
-but being on-line may give you better
-speech input and output and more languages.
-</p>
-<p>
-You can also install third-party off-line speech engines, such as
-<a href="https://play.google.com/store/apps/developer?id=SVOX+Mobile+Voices&hl=en">SVOX</a>.
-Consult the voice/language settings on your phone to find the optimal
-speech engines, and restart the app after changing the settings.
-</p>
-
-<p>
-The GF Offline Translator is powered by
-<a href="http://www.grammaticalframework.org/">GF</a>, Grammatical Framework.
-It is open-source software,
-built by support from the GF community and from <a href="http://www.digitalgrammars.com/">Digital Grammars</a>.
-</p>
-
-<p>
-<i>Digital Grammars is a company that can tailor this app to you needs and provide good
-translation for the kind of vocabulary you need. Just tell us what you want to see
- in the green area!</i>
-</p>
-
-</body>
-</html>
diff --git a/src/ui/android/assets/phrases.xml b/src/ui/android/assets/phrases.xml
deleted file mode 100644
index 847339135..000000000
--- a/src/ui/android/assets/phrases.xml
+++ /dev/null
@@ -1,1035 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<phrasebook>
- <sentence desc="Greetings" id="PGreeting">
- <option>
- <function desc="Male Speaker" name="PGreetingMale">
- <call ref="Greeting"/>
- </function>
- <function desc="Female Speaker" name="PGreetingFemale">
- <call ref="Greeting"/>
- </function>
- </option>
- </sentence>
-
- <sentence desc="Fixed Phrases" id="PPhrase">
- <option>
- <function desc="Male Speaker" name="PGreetingMale">
- <call ref="Phrase"/>
- </function>
- <function desc="Female Speaker" name="PGreetingFemale">
- <call ref="Phrase"/>
- </function>
- </option>
- </sentence>
-
- <sentence desc="What is somebody's name?" id="QWhatName">
- <function name="PQuestion">
- <function name="QWhatName">
- <call desc="Who are we talking about?" ref="Person"/>
- </function>
- </function>
- </sentence>
-
- <sentence desc="Somebody's name is..." id="AHasName">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AHasName">
- <call ref="Person"/>
- <function name="NameNN"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="How old is someone?" id="QWhatAge">
- <function name="PQuestion">
- <function name="QWhatAge">
- <call ref="Person"/>
- </function>
- </function>
- </sentence>
-
- <sentence desc="Someone's age is..." id="AHasAge">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AHasAge">
- <call ref="Person"/>
- <function name="NNumeral">
- <numeral desc="How many years?"/>
- </function>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone loves someone" id="ALove">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="ALove">
- <call desc="Who loves someone?" ref="Person"/>
- <call desc="Who is loved?" ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence advanced="true" desc="Someone is married" id="AMarried">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AMarried">
- <call ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone has children" id="AHasChildren">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AHasChildren">
- <call ref="Person"/>
- <function name="NNumeral">
- <numeral desc="How many children?"/>
- </function>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone has something" id="SHave">
- <function name="SHave">
- <call ref="Person"/>
- <call desc="What do you have?" ref="Object"/>
- </function>
- </sentence>
-
- <sentence desc="Someone has currency" id="AHaveCurr">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AHaveCurr">
- <call ref="Person"/>
- <call ref="Currency"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone lives somewhere" id="ALive">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="ALive">
- <call ref="Person"/>
- <call desc="Living where?" ref="country"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone wants to go somewhere" id="AWantGo">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AWantGo">
- <call ref="Person"/>
- <call ref="Place"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is a citizen" id="ACitizen">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="ACitizen">
- <call ref="Person"/>
- <call desc="Living where?" ref="country"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is somewhere" id="ABePlace">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="ABePlace">
- <call ref="Person"/>
- <call ref="Place"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Something is something" id="Is">
- <call ref="phraseit">
- <function name="Is">
- <call ref="Item"/>
- <call ref="Quality"/>
- </function>
- </call>
- </sentence>
-
- <sentence desc="How far is something?" id="HowFar">
- <function name="PQuestion">
- <function name="HowFar">
- <call desc="What place are we asking about?" ref="Place"/>
- </function>
- </function>
- </sentence>
-
- <sentence desc="How far is something from somewhere?" id="HowFarFrom">
- <function name="PQuestion">
- <function name="HowFarFrom">
- <call desc="Where are we going from?" ref="Place"/>
- <call desc="Where are we going to?" ref="Place"/>
- </function>
- </function>
- </sentence>
-
- <sentence desc="Some place is open" id="PropOpen">
- <call ref="phraseit">
- <option>
- <function desc="now" name="PropOpen">
- <call ref="Place"/>
- </function>
- <function desc="on a specific date" name="PropOpenDate">
- <call ref="Place"/>
- <call ref="Date"/>
- </function>
- <function desc="on a specific day of the week" name="PropOpenDay">
- <call ref="Place"/>
- <call ref="Day"/>
- </function>
- </option>
- </call>
- </sentence>
-
- <sentence desc="Some place is closed" id="PropClosed">
- <call ref="phraseit">
- <option>
- <function desc="now" name="PropClosed">
- <call ref="Place"/>
- </function>
- <function desc="on a specific date" name="PropClosedDate">
- <call ref="Place"/>
- <call ref="Date"/>
- </function>
- <function desc="on a specific day of the week" name="PropClosedDay">
- <call ref="Place"/>
- <call ref="Day"/>
- </function>
- </option>
- </call>
- </sentence>
-
- <sentence desc="Someone wants some food" id="AWant">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AWant">
- <call desc="Who wants food?" ref="Person"/>
- <call ref="Object"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone likes some food" id="ALike">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="ALike">
- <call desc="Who likes it?" ref="Person"/>
- <call ref="Item"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone has a table" id="AHasTable">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AHasTable">
- <call ref="Person"/>
- <function name="NNumeral">
- <numeral desc="How many persons?"/>
- </function>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone has a room" id="AHasRoom">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AHasRoom">
- <call ref="Person"/>
- <function name="NNumeral">
- <numeral desc="How many persons?"/>
- </function>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is hungry" id="AHungry">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AHungry">
- <call ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is thirsty" id="AThirsty">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AThirsty">
- <call ref="Person" />
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is tired" id="ATired">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="ATired">
- <call ref="Person" />
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is scared" id="AScared">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AScared">
- <call ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is ill" id="AIll">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AIll">
- <call ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone is ready" id="AReady">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AReady">
- <call ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone does something" id="ADoVerbPhrase">
- <call ref="phraseit">
- <function name="PropAction">
- <option desc="Modality">
- <call desc="No modality" ref="do"/>
- <call desc="can" ref="modal_do">
- <function desc="can" name="MCan"/>
- </call>
- <call desc="know" ref="modal_do">
- <function desc="know" name="MKnow"/>
- </call>
- <call desc="must" ref="modal_do">
- <function desc="must" name="MMust"/>
- </call>
- <call desc="want" ref="modal_do">
- <function desc="want" name="MWant"/>
- </call>
- </option>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone speaks a language" id="ASpeak">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="ASpeak">
- <call desc="Who speaks it?" ref="Person"/>
- <call ref="language"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone understands" id="AUnderstand">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AUnderstand">
- <call ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone knows" id="AKnow">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AKnow">
- <call ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Someone knows someone" id="AKnowPerson">
- <call ref="phraseit">
- <function name="PropAction">
- <function name="AKnowPerson">
- <call desc="Who knows it?" ref="Person"/>
- <call desc="Who is known?" ref="Person"/>
- </function>
- </function>
- </call>
- </sentence>
-
- <sentence desc="How much does something cost?" id="HowMuchCost">
- <function name="PQuestion">
- <function name="HowMuchCost">
- <call ref="Item"/>
- </function>
- </function>
- </sentence>
-
- <sentence desc="Something costs ..." id="ItCost">
- <call ref="phraseit">
- <function name="ItCost">
- <call ref="Item"/>
- <call ref="Price"/>
- </function>
- </call>
- </sentence>
-
- <sentence desc="Commands" id="PImperative">
- <option>
- <function desc="positive, familiar" name="PImperativeFamPos">
- <call ref="VerbPhrase"/>
- </function>
- <function desc="positive, polite" name="PImperativePolPos">
- <call ref="VerbPhrase"/>
- </function>
- <function desc="positive, plural" name="PImperativePlurPos">
- <call ref="VerbPhrase"/>
- </function>
- <function desc="negated, familiar" name="PImperativeFamNeg">
- <call ref="VerbPhrase"/>
- </function>
- <function desc="negated, polite" name="PImperativePolNeg">
- <call ref="VerbPhrase"/>
- </function>
- <function desc="negative, plural" name="PImperativePlurNeg">
- <call ref="VerbPhrase"/>
- </function>
- </option>
- </sentence>
-
- <sentence desc="Price" id="PPrice">
- <function name="PPrice">
- <call ref="Price"/>
- </function>
- </sentence>
-
- <sentence desc="Number" id="Number">
- <function name="PNumber">
- <function name="NNumeral">
- <numeral desc="Which number?"/>
- </function>
- </function>
- </sentence>
-
- <!-- ___________________________________________________________________________________________ -->
- <!--Option lists -->
- <option desc="Who are we talking about?" id="Person">
- <function desc="me (male)" name="IMale" />
- <function desc="me (female)" name="IFemale" />
- <function desc="you (a male friend)" name="YouFamMale" />
- <function desc="you (a female friend)" name="YouFamFemale" />
- <function desc="you (a male stranger)" name="YouPolMale" />
- <function desc="you (a female stranger)" name="YouPolFemale" />
- <function desc="he" name="He"/>
- <function desc="she" name="She"/>
- <function desc="we (male)" name="WeMale"/>
- <function desc="we (female)" name="WeFemale"/>
- <function desc="you (male friends)" name="YouPlurFamMale"/>
- <function desc="you (female friends)" name="YouPlurFamFemale"/>
- <function desc="you (male strangers)" name="YouPlurPolMale"/>
- <function desc="you (female strangers)" name="YouPlurPolFemale"/>
- <function desc="they (male)" name="TheyMale"/>
- <function desc="they (female)" name="TheyFemale"/>
- <function desc="Wife of ..." name="Wife">
- <call ref="Person"/>
- </function>
- <function desc="Husband of ..." name="Husband">
- <call ref="Person"/>
- </function>
- <function desc="Daughter of ..." name="Daughter">
- <call ref="Person"/>
- </function>
- <function desc="Son of ..." name="Son">
- <call ref="Person"/>
- </function>
- <function desc="Children of ..." name="Children">
- <call ref="Person"/>
- </function>
- </option>
-
- <option desc="How to phrase it?" id="phraseit">
- <function desc="As a statement" name="PSentence">
- <function name="SProp">
- <boolean desc="Reported Speech">
- <argument/>
- <function name="PropAction">
- <option>
- <function desc="As a statement" name="AKnowSentence">
- <call ref="Person"/>
- <function name="SProp">
- <argument/>
- </function>
- </function>
- <function desc="As a question" name="AKnowQuestion">
- <call ref="Person"/>
- <function name="QProp">
- <argument/>
- </function>
- </function>
- <function desc="As a negation" name="AKnowSentence">
- <call ref="Person"/>
- <function name="SPropNot">
- <argument/>
- </function>
- </function>
- </option>
- </function>
- </boolean>
- </function>
- </function>
- <function desc="As a question" name="PQuestion">
- <function name="QProp">
- <boolean desc="Reported Speech">
- <argument/>
- <function name="PropAction">
- <option>
- <function desc="As a statement" name="AKnowSentence">
- <call ref="Person"/>
- <function name="SProp">
- <argument/>
- </function>
- </function>
- <function desc="As a question" name="AKnowQuestion">
- <call ref="Person"/>
- <function name="QProp">
- <argument/>
- </function>
- </function>
- <function desc="As a negation" name="AKnowSentence">
- <call ref="Person"/>
- <function name="SPropNot">
- <argument/>
- </function>
- </function>
- </option>
- </function>
- </boolean>
- </function>
- </function>
- <function desc="As a negation" name="PSentence">
- <function name="SPropNot">
- <boolean desc="Reported Speech">
- <argument/>
- <function name="PropAction">
- <option>
- <function desc="As a statement" name="AKnowSentence">
- <call ref="Person"/>
- <function name="SProp">
- <argument/>
- </function>
- </function>
- <function desc="As a question" name="AKnowQuestion">
- <call ref="Person"/>
- <function name="QProp">
- <argument/>
- </function>
- </function>
- <function desc="As a negation" name="AKnowSentence">
- <call ref="Person"/>
- <function name="SPropNot">
- <argument/>
- </function>
- </function>
- </option>
- </function>
- </boolean>
- </function>
- </function>
- </option>
-
- <option id="language" desc="What language?">
- <function desc="Bulgarian" name="(LangNat Bulgarian)"/>
- <function desc="Catalan" name="(LangNat Catalan)"/>
- <function desc="Danish" name="(LangNat Danish)"/>
- <function desc="Dutch" name="(LangNat Dutch)"/>
- <function desc="English" name="(LangNat English)"/>
- <function desc="Finnish" name="(LangNat Finnish)"/>
- <function desc="Flemish" name="Flemish"/>
- <function desc="French" name="(LangNat French)"/>
- <function desc="German" name="(LangNat German)"/>
- <function desc="Italian" name="(LangNat Italian)"/>
- <function desc="Norwegian" name="(LangNat Norwegian)"/>
- <function desc="Polish" name="(LangNat Polish)"/>
- <function desc="Romanian" name="(LangNat Romanian)"/>
- <function desc="Russian" name="(LangNat Russian)"/>
- <function desc="Spanish" name="(LangNat Spanish)"/>
- <function desc="Swedish" name="(LangNat Swedish)"/>
- </option>
-
- <option id="Citizenship" desc="What nationality">
- <function desc="Belgian" name="Belgian"/>
- <function desc="Bulgarian" name="CitiNat Bulgarian"/>
- <function desc="Catalan" name="CitiNat Catalan"/>
- <function desc="Dutch" name="CitiNat Dutch"/>
- <function desc="Danish" name="CitiNat Danish"/>
- <function desc="English" name="CitiNat English"/>
- <function desc="Finnish" name="CitiNat Finnish"/>
- <function desc="French" name="CitiNat French"/>
- <function desc="German" name="CitiNat German"/>
- <function desc="Italian" name="CitiNat Italian"/>
- <function desc="Norwegian" name="CitiNat Norwegian"/>
- <function desc="Polish" name="CitiNat Polish"/>
- <function desc="Romanian" name="CitiNat Romanian"/>
- <function desc="Russian" name="CitiNat Russian"/>
- <function desc="Spanish" name="CitiNat Spanish"/>
- <function desc="Swedish" name="CitiNat Swedish"/>
- </option>
-
- <option desc="What place are we asking about?" id="PlaceKind">
- <function desc="airport" name="Airport"/>
- <function desc="amusement park" name="AmusementPark"/>
- <function desc="bank" name="Bank"/>
- <function desc="bar" name="Bar"/>
- <function desc="cafeteria" name="Cafeteria"/>
- <function desc="center" name="Center"/>
- <function desc="church" name="Church"/>
- <function desc="cinema" name="Cinema"/>
- <function desc="car park" name="Parking"/>
- <function desc="disco" name="Disco"/>
- <function desc="hospital" name="Hospital"/>
- <function desc="hotel" name="Hotel"/>
- <function desc="museum" name="Museum"/>
- <function desc="park" name="Park"/>
- <function desc="pharmacy" name="Pharmacy"/>
- <function desc="post office" name="PostOffice"/>
- <function desc="pub" name="Pub"/>
- <function desc="restaurant" name="Restaurant"/>
- <function desc="restaurant (National)" name="CitRestaurant">
- <call ref="Citizenship"/>
- </function>
- <function desc="school" name="School"/>
- <function desc="shop" name="Shop"/>
- <function desc="station" name="Station"/>
- <function desc="supermarket" name="Supermarket"/>
- <function desc="theatre" name="Theatre"/>
- <function desc="toilet" name="Toilet"/>
- <function desc="university" name="University"/>
- <function desc="zoo" name="Zoo"/>
- </option>
-
- <option id="Place">
- <function desc="a/an" name="APlace">
- <call ref="PlaceKind"/>
- </function>
- <function desc="the" name="ThePlace">
- <call ref="PlaceKind"/>
- </function>
- <function desc="the best" name="SuperlPlace">
- <function name="TheBest"/>
- <call ref="PlaceKind"/>
- </function>
- <function desc="the worst" name="SuperlPlace">
- <function name="TheWorst"/>
- <call ref="PlaceKind"/>
- </function>
- <function desc="the nearest" name="SuperlPlace">
- <function name="TheClosest"/>
- <call ref="PlaceKind"/>
- </function>
- <function desc="the cheapest" name="SuperlPlace">
- <function name="TheCheapest"/>
- <call ref="PlaceKind"/>
- </function>
- <function desc="the most expensive" name="SuperlPlace">
- <function name="TheMostExpensive"/>
- <call ref="PlaceKind"/>
- </function>
- <function desc="the most popular" name="SuperlPlace">
- <function name="TheMostPopular"/>
- <call ref="PlaceKind"/>
- </function>
- </option>
-
- <option id="country" desc="What nationality">
- <function desc="Belgium" name="Belgium"/>
- <function desc="Bulgaria" name="(CountryNat Bulgarian)"/>
- <function desc="Catalonia" name="(CountryNat Catalan)"/>
- <function desc="The Netherlands" name="(CountryNat Dutch)"/>
- <function desc="Denmark" name="(CountryNat Danish)"/>
- <function desc="England" name="(CountryNat English)"/>
- <function desc="Finland" name="(CountryNat Finnish)"/>
- <function desc="France" name="(CountryNat French)"/>
- <function desc="Germany" name="(CountryNat German)"/>
- <function desc="Italy" name="(CountryNat Italian)"/>
- <function desc="Norway" name="(CountryNat Norwegian)"/>
- <function desc="Poland" name="(CountryNat Polish)"/>
- <function desc="Romania" name="(CountryNat Romanian)"/>
- <function desc="Russia" name="(CountryNat Russian)"/>
- <function desc="Spain" name="(CountryNat Spanish)"/>
- <function desc="Sweden" name="(CountryNat Swedish)"/>
- </option>
-
- <option desc="What is being wanted?" id="Object">
- <function desc="a/an" name="OneObj">
- <call ref="IndefItem"/>
- </function>
- <function desc="the" name="OneObj">
- <function name="ObjItem">
- <call ref="DefItem"/>
- </function>
- </function>
- <function desc="this" name="OneObj">
- <function name="ObjItem">
- <call ref="ThisItem"/>
- </function>
- </function>
- <function desc="that" name="OneObj">
- <function name="ObjItem">
- <call ref="ThatItem"/>
- </function>
- </function>
- <function desc="(plural)" name="OneObj">
- <function name="ObjPlural">
- <call ref="Kind"/>
- </function>
- </function>
- </option>
-
- <option desc="Determiner" id="Item">
- <call desc="the" ref="DefItem"/>
- <call desc="this" ref="ThisItem"/>
- <call desc="that" ref="ThatItem"/>
- </option>
-
- <option id="IndefItem" desc="What are we talking about?">
- <function desc="apple" name="(ObjIndef Apple)"/>
- <function desc="beer" name="(ObjMass (MassDrink Beer))"/>
- <function desc="bread" name="(ObjMass Bread)"/>
- <function desc="cheese" name="(ObjMass Cheese)"/>
- <function desc="chicken" name="(ObjMass Chicken)"/>
- <function desc="coffee" name="(ObjMass (MassDrink Coffee))"/>
- <function desc="fish" name="(ObjMass Fish)"/>
- <function desc="meat" name="(ObjMass Meat)"/>
- <function desc="milk" name="(ObjMass Milk)"/>
- <function desc="pizza" name="(ObjIndef Pizza)"/>
- <function desc="salt" name="(ObjMass Salt)"/>
- <function desc="tea" name="(ObjMass (MassDrink Tea))"/>
- <function desc="water" name="(ObjMass (MassDrink Water))"/>
- <function desc="wine" name="(ObjMass (MassDrink Wine))"/>
- <function desc="(with quality)" name="ObjMass">
- <function name="SuchMassKind">
- <call ref="Quality"/>
- <call ref="MassKind"/>
- </function>
- </function>
- </option>
-
- <option id="DefItem" desc="What are we talking about?">
- <function desc="apple" name="(The Apple)"/>
- <function desc="beer" name="(TheMass (MassDrink Beer))"/>
- <function desc="bread" name="(TheMass Bread)"/>
- <function desc="cheese" name="(TheMass Cheese)"/>
- <function desc="chicken" name="(TheMass Chicken)"/>
- <function desc="coffee" name="(TheMass (MassDrink Coffee))"/>
- <function desc="fish" name="(TheMass Fish)"/>
- <function desc="meat" name="(TheMass Meat)"/>
- <function desc="milk" name="(TheMass Milk)"/>
- <function desc="pizza" name="(The Pizza)"/>
- <function desc="salt" name="(TheMass Salt)"/>
- <function desc="tea" name="(TheMass (MassDrink Tea))"/>
- <function desc="water" name="(TheMass (MassDrink Water))"/>
- <function desc="wine" name="(TheMass (MassDrink Wine))"/>
- <function desc="(with quality)" name="TheMass">
- <function name="SuchMassKind">
- <call ref="Quality"/>
- <call ref="MassKind"/>
- </function>
- </function>
- </option>
-
- <option id="ThisItem" desc="What are we talking about?">
- <function desc="apple" name="(This Apple)"/>
- <function desc="beer" name="(ThisMass (MassDrink Beer))"/>
- <function desc="bread" name="(ThisMass Bread)"/>
- <function desc="cheese" name="(ThisMass Cheese)"/>
- <function desc="chicken" name="(ThisMass Chicken)"/>
- <function desc="coffee" name="(ThisMass (MassDrink Coffee))"/>
- <function desc="fish" name="(ThisMass Fish)"/>
- <function desc="meat" name="(ThisMass Meat)"/>
- <function desc="milk" name="(ThisMass Milk)"/>
- <function desc="pizza" name="(This Pizza)"/>
- <function desc="salt" name="(ThisMass Salt)"/>
- <function desc="tea" name="(ThisMass (MassDrink Tea))"/>
- <function desc="water" name="(ThisMass (MassDrink Water))"/>
- <function desc="wine" name="(ThisMass (MassDrink Wine))"/>
- <function desc="(with quality)" name="ThisMass">
- <function name="SuchMassKind">
- <call ref="Quality"/>
- <call ref="MassKind"/>
- </function>
- </function>
- </option>
-
- <option id="ThatItem" desc="What are we talking about?">
- <function desc="apple" name="(That Apple)"/>
- <function desc="beer" name="(ThatMass (MassDrink Beer))"/>
- <function desc="bread" name="(ThatMass Bread)"/>
- <function desc="cheese" name="(ThatMass Cheese)"/>
- <function desc="chicken" name="(ThatMass Chicken)"/>
- <function desc="coffee" name="(ThatMass (MassDrink Coffee))"/>
- <function desc="fish" name="(ThatMass Fish)"/>
- <function desc="meat" name="(ThatMass Meat)"/>
- <function desc="milk" name="(ThatMass Milk)"/>
- <function desc="pizza" name="(That Pizza)"/>
- <function desc="salt" name="(ThatMass Salt)"/>
- <function desc="tea" name="(ThatMass (MassDrink Tea))"/>
- <function desc="water" name="(ThatMass (MassDrink Water))"/>
- <function desc="wine" name="(ThatMass (MassDrink Wine))"/>
- <function desc="(with quality)" name="ThatMass">
- <function name="SuchMassKind">
- <call ref="Quality"/>
- <call ref="MassKind"/>
- </function>
- </function>
- </option>
-
- <option id="MassKind" desc="What are we talking about?">
- <function desc="beer" name="(MassDrink Beer)"/>
- <function desc="bread" name="Bread"/>
- <function desc="cheese" name="Cheese"/>
- <function desc="chicken" name="Chicken"/>
- <function desc="coffee" name="(MassDrink Coffee)"/>
- <function desc="fish" name="Fish"/>
- <function desc="meat" name="Meat"/>
- <function desc="milk" name="Milk"/>
- <function desc="salt" name="Salt"/>
- <function desc="tea" name="(MassDrink Tea)"/>
- <function desc="water" name="(MassDrink Water)"/>
- <function desc="wine" name="(MassDrink Wine)"/>
- <function desc="(with quality)" name="SuchMassKind">
- <call ref="Quality"/>
- <call ref="MassKind"/>
- </function>
- </option>
-
- <option id="Kind" desc="What are we talking about?">
- <function desc="apple" name="Apple"/>
- <function desc="pizza" name="Pizza"/>
- <function desc="(with quality)" name="SuchKind">
- <call ref="Quality"/>
- <call ref="Kind"/>
- </function>
- </option>
-
- <option id="Quality" desc="What quality does it have?">
- <function desc="bad" name="(PropQuality Bad)"/>
- <function desc="boring" name="(PropQuality Boring)"/>
- <function desc="cheap" name="(PropQuality Cheap)"/>
- <function desc="cold" name="(PropQuality Cold)"/>
- <function desc="delicious" name="(PropQuality Delicious)"/>
- <function desc="expensive" name="(PropQuality Expensive)"/>
- <function desc="fresh" name="(PropQuality Fresh)"/>
- <function desc="good" name="(PropQuality Good)"/>
- <function desc="suspect" name="(PropQuality Suspect)"/>
- <function desc="warm" name="(PropQuality Warm)"/>
-
- <function desc="too bad" name="(Too Bad)"/>
- <function desc="too boring" name="(Too Boring)"/>
- <function desc="too cheap" name="(Too Cheap)"/>
- <function desc="too cold" name="(Too Cold)"/>
- <function desc="too delicious" name="(Too Delicious)"/>
- <function desc="too expensive" name="(Too Expensive)"/>
- <function desc="too fresh" name="(Too Fresh)"/>
- <function desc="too good" name="(Too Good)"/>
- <function desc="too suspect" name="(Too Suspect)"/>
- <function desc="too warm" name="(Too Warm)"/>
-
- <function desc="very bad" name="(Very Bad)"/>
- <function desc="very boring" name="(Very Boring)"/>
- <function desc="very cheap" name="(Very Cheap)"/>
- <function desc="very cold" name="(Very Cold)"/>
- <function desc="very delicious" name="(Very Delicious)"/>
- <function desc="very expensive" name="(Very Expensive)"/>
- <function desc="very fresh" name="(Very Fresh)"/>
- <function desc="very good" name="(Very Good)"/>
- <function desc="very suspect" name="(Very Suspect)"/>
- <function desc="very warm" name="(Very Warm)"/>
-
- <function desc="(with nationality)" name="PropQuality">
- <function name="PropCit">
- <call ref="Citizenship"/>
- </function>
- </function>
- </option>
-
- <function name="AmountCurrency" id="Price">
- <function name="NNumeral">
- <numeral desc="How much does it cost?"/>
- </function>
- <call ref="Currency"/>
- </function>
-
- <option id="Currency">
- <function desc="Euro" name="Euro"/>
- <function desc="Dollar" name="Dollar"/>
- <function desc="Danish Crown" name="DanishCrown"/>
- <function desc="Norwegian Crown" name="NorwegianCrown"/>
- <function desc="Swedish Crown" name="SwedishCrown"/>
- <function desc="Pound" name="Pound"/>
- <function desc="Rouble" name="Rouble"/>
- <function desc="Rupee" name="Rupee"/>
- <function desc="Lei" name="Lei"/>
- <function desc="Leva" name="Leva"/>
- <function desc="Yuan" name="Yuan"/>
- <function desc="Zloty" name="Zloty"/>
- </option>
-
- <option desc="When?" id="Date">
- <function desc="today" name="Today"/>
- <function desc="tomorrow" name="Tomorrow"/>
- <function desc="on Monday" name="(OnDay Monday)"/>
- <function desc="on Tuesday" name="(OnDay Tuesday)"/>
- <function desc="on Wednesday" name="(OnDay Wednesday)"/>
- <function desc="on Thursday" name="(OnDay Thursday)"/>
- <function desc="on Friday" name="(OnDay Friday)"/>
- <function desc="on Saturday" name="(OnDay Saturday)"/>
- <function desc="on Sunday" name="(OnDay Sunday)"/>
- </option>
-
- <option desc="On which days?" id="Day">
- <function desc="Monday" name="Monday"/>
- <function desc="Tuesday" name="Tuesday"/>
- <function desc="Wednesday" name="Wednesday"/>
- <function desc="Thursday" name="Thursday"/>
- <function desc="Friday" name="Friday"/>
- <function desc="Saturday" name="Saturday"/>
- <function desc="Sunday" name="Sunday"/>
- </option>
-
- <option dec="Greeting" id="Greeting">
- <function desc="Hello" name="GHello"/>
- <function desc="Good Day" name="GGoodDay"/>
- <function desc="Good Evening" name="GGoodEvening"/>
- <function desc="Good Morning" name="GGoodMorning"/>
- <function desc="Good Night" name="GGoodNight"/>
- <function desc="Good Luck" name="GGoodLuck"/>
- <function desc="See You Soon" name="GSeeYouSoon"/>
- <function desc="See You on a Day" name="PSeeYouDate">
- <call ref="Date"/>
- </function>
- <function desc="See You Somewhere" name="PSeeYouPlace">
- <call ref="Place"/>
- </function>
- <function desc="See You Somewhere on a Day" name="PSeeYouPlaceDate">
- <call ref="Place"/>
- <call ref="Date"/>
- </function>
- <function desc="Goodbye" name="GGoodbye"/>
- <function desc="Bye" name="GBye"/>
- <function desc="Cheers" name="GCheers"/>
- <function desc="Congratulations" name="GCongratulations"/>
- <function desc="Damn" name="GDamn"/>
- <function desc="Excuse me" name="GExcuse"/>
- <function desc="Excuse me (polite)" name="GExcusePol"/>
- <function desc="Happy Birthday" name="GHappyBirthday"/>
- <function desc="Help" name="GHelp"/>
- <function desc="How Are You" name="GHowAreYou"/>
- <function desc="Nice to Meet You" name="GNiceToMeetYou"/>
- <function desc="Sorry" name="GSorry"/>
- <function desc="Sorry (polite)" name="GSorryPol"/>
- <function desc="Thanks" name="GThanks"/>
- </option>
-
- <option dec="Phrase" id="Phrase">
- <function desc="Yes" name="PYes"/>
- <function desc="Yes (as an answer to no)" name="PYesToNo"/>
- <function desc="No" name="PNo"/>
- <function desc="What is the time?" name="GWhatTime"/>
- <function desc="The Bill" name="GTheCheck"/>
- <function desc="Look Out" name="GLookOut"/>
- <function desc="Something please" name="GObjectPlease">
- <call ref="Object"/>
- </function>
- <function desc="Please" name="GPleaseGive"/>
- <function desc="Please (polite)" name="GPleaseGivePol"/>
- </option>
-
- <option id="do">
- <function desc="In general" name="ADoVerbPhrase">
- <call ref="Person"/>
- <call ref="VerbPhrase"/>
- </function>
- <function desc="In some place" name="ADoVerbPhrasePlace">
- <call ref="Person"/>
- <call ref="VerbPhrase"/>
- <call ref="Place"/>
- </function>
- </option>
-
- <option id="modal_do">
- <function desc="In general" name="AModVerbPhrase">
- <argument/>
- <call ref="Person"/>
- <call ref="VerbPhrase"/>
- </function>
- <function desc="In some place" name="AModVerbPhrasePlace">
- <argument/>
- <call ref="Person"/>
- <call ref="VerbPhrase"/>
- <call ref="Place"/>
- </function>
- </option>
-
- <option desc="Verb" id="VerbPhrase">
- <function desc="Buy" name="V2Buy">
- <call desc="What should be bought?" ref="Object"/>
- </function>
- <function desc="Drink" name="VDrink"/>
- <function desc="Drink Something" name="V2Drink">
- <call desc="What should be drunk?" ref="Object"/>
- </function>
- <function desc="Eat" name="VEat"/>
- <function desc="Eat Something" name="V2Eat">
- <call desc="What should be eaten?" ref="Object"/>
- </function>
- <function desc="Wait for Someone" name="V2Wait">
- <call desc="Whom should we wait for?" ref="Person"/>
- </function>
- <function desc="Play" name="VPlay"/>
- <function desc="Read" name="VRead"/>
- <function desc="Run" name="VRun"/>
- <function desc="Sit" name="VSit"/>
- <function desc="Sleep" name="VSleep"/>
- <function desc="Stop" name="VStop"/>
- <function desc="Swim" name="VSwim"/>
- <function desc="Wait" name="VWait"/>
- <function desc="Walk" name="VWalk"/>
- <function desc="Write" name="VWrite"/>
- </option>
-</phrasebook>