texts and idioms

This commit is contained in:
aarne
2006-02-20 14:52:37 +00:00
parent 4cd96c5d52
commit b6957f4e41
13 changed files with 80 additions and 6 deletions

View File

@@ -6,16 +6,20 @@ abstract Cat = Tense ** {
--2 Top-level units
-- Constructed in [Phrase Phrase.html].
-- Constructed in [Text Text.html].
Text ; -- text consisting of several phrases
-- Constructed in [Phrase Phrase.html].
Phr ; -- phrase in a text e.g. "But be quiet my darling."
Utt ; -- sentence, question, word... e.g. "be quiet"
Voc ; -- vocative or "please" e.g. "my darling"
--2 Sentences and clauses
-- Constructed in [Sentence Sentence.html].
-- Constructed in [Sentence Sentence.html], and also in
-- [Idiom Idiom.html].
S ; -- declarative sentence e.g. "she lived here"
QS ; -- question e.g. "where did she live"

View File

@@ -0,0 +1,13 @@
--1 Idiomatic expressions
abstract Idiom = Cat ** {
-- This module defines constructions that are formed in fixed ways,
-- often different even in closely related languages.
fun
ExistNP : NP -> Cl ; -- there is a house
ImpersVP : VP -> Cl ; -- it rains
ProgrVP : VP -> VP ; -- sleeping
}

View File

@@ -15,6 +15,8 @@ abstract Lang =
Relative,
Conjunction,
Phrase,
Text,
Structural,
Idiom,
Lexicon
** {} ;

View File

@@ -0,0 +1,11 @@
--1 Texts
abstract Text = Cat ** {
fun
TEmpty : Text ;
TFullStop : Phr -> Text -> Text ;
TQuestMark : Phr -> Text -> Text ;
TExclMark : Phr -> Text -> Text ;
}