
README

1. Overview

     LUG, Localized Unification Grammar, is a grammar descriptive
framework which is based on phrase-base approach and aims at
unification grammar formalism.

2. Function

     The LUG is a grammar descriptive framework designed for users to
develop non-trivial grammar rules expresed in the DCG. In the LUG
form, categories are represented as feature sets. This allows the
users to write a complex constituent structure expressed in the
grammar rules.

3. Application

     The LUG formalism has been used to build grammar rules for basic
coverage of Japanese language. As of now, 800-sized grammar rules are
usable. We call this SFTB grammar rules.
     An important characteristic of the basic grammars is that it is
orderly divided into 12 groups according to the coverage of linguistic
phenomena. The grammar rules grouped acoording to coverages is as
follows:

Elementary Level (Level1 ~ Level4)

     decision(declaratives), supposition, conjectural
     form(declaratives), command(imperative), aspect operators,
     negation, polite form, and so forth.

Intermediate Level (Level 5 ~ Level8)

     passives, causatives, modal adverbs, spacio-temporal adverbs,
     topicalized phrases, relatives, and so forth.

Advanced level (Level 9 ~ Level 12)

     conditional phrases, causal phrases, some connectives,
     conjunctions and disjunctions of nominal phrases.

4. Release Guide

     You should read the complete manual before you begin to use the
SFTB version -- 6.1 kit.

4.1 Your SFTB Kit -- Software Kit Contents

     The organization of files on the volume is summarized in Table
1.1.  Grammar rules SFTB_L1 ~ SFTB_L12 are provided in the volume.
SFTB_REF.dcg is produced from the grammar rules of SFTB_L12.dcg.  To
further understanding of SFTB grammar rules, refer to ''SFTB / Grammar
Rules Reference Manual'' for a thorough description of each rule.


                    Table 1.1   Software Components
+---+------------------------------+-------------------------------------+
|   |             File             |                Description          |
+---+------------------------------+-------------------------------------+
| 1 | SFTB_L1.dcg ~ SFTB_L12.dcg   | Grammar rules (Non terminal rules)  |
| 2 | LEX_L1.dcg ~ LEX_L12.dcg     | Grammar rules (Terminal rules)      |
| 3 | EXTRA_L1.dcg ~ EXTRA_L12.dcg | Prolog program source               |
| 4 | CAT_L1.dcg ~ CAT_L12.dcg     | List of non terminal symbols        |
|   |                              | appearing in the grammar rules      |
| 5 | WORDS_L1.dcg ~ WORDS_L12.dcg | Dictionaries                        |
| 6 | TEXTS_L1.txt ~ TEXTS_L12.txt | Corpus                              |
| 7 | TEXTS_L1.TXT ~ TEXTS_L12.TXT | Corpus (List format)                |
+---+------------------------------+-------------------------------------+

     These files contain text data with the grammar written in DCG.

4.1.1 SFTB_L1.dcg ~ SFTB_L12.dcg

     Each of these files consists of a set of grammar rules of the
form:

    ``Cat''(SYN,X,REL,F,PRO) --> ``Body''

     where ``Cat'' is a nonterminal symbol.  In parsing terminology, a
nonterminal symbol is a symtactic category made up of some combination
of terminals or nonterminals. The components of each nonterminal are
specified in a grammar rule, and the set of grammar rules known to the
parser constitute its grammar structure.  Each file of SFTB_L1.dcg ~
SFTB_L12.dcg consists of a set of grammar rules.  The initial category
could be called ``sentence''.

4.1.2 LEX_L1.dcg ~ LEX_L12.dcg

     Dictionary rules involving terminal symbols are included in each
file of LEX_L1.dcg ~ LEX_L12.dcg.  A terminal is an input token, and
the terminals concerned with these files are functional words, such as
postpositional articles, conjugation forms, prefixes and suffixs.

4.1.3 EXTRA_L1.dcg ~ EXTRA_L12.dcg

     EXTRA_n.dcg contains the prolog programs defined in the grammar
files.

4.1.4 CAT_L1.dcg ~ CAT_L12.dcg

     Each file consists of a list of nonterminal symbols to appear in
SFTB_L1.dcg ~ SFTB_L12.dcg.  The information in these files is used in
the LINGUIST system.  This is useful for studying SFTB grammar with a
syntactic categories list.

4.1.5 Source Listing File as a Reference Source

     SFTB_REF.dcg includes the source grammar rules as they appear in
the SFTB_L12.dcg, with the addition of sequential rule numbers.  Added
line numbers appear on the left-hand side of the rules.  This allows
you to get help in studying grammar rules written in DCG.  To specify
a grammar rule presented in the ``SFTB / Grammar Rules Reference
Manual'', each rule described in the file has a number, which is
incremented and corresponds to the number added to the head of a
grammar rule represented in the document.  The rule numbers of rule
descriptions in the manual correspond to numbers in the SFTB_12.dcg
file.  Thus the ``SFTB / Grammar Rules Reference Manual'' describes
how to use grammar rules present in the SFTB_12.dcg file.  Figure 1.2
shows a sample rule-related reference.


                    +-------------------------------+
                    |                               |
    Grammar rules   | sentence(...) --> ...  <----------+
                    |      |                        |   |
                    +------|------------------------+   |
                           |            SFTB_L12.dcg    |
                           |                            |
                           |                            |
                    +------|------------------------+   |
                    |      V                        |   |
 Reference source   | 100:sentence(...) --> ...     |   |
                    |                               |   |
                    +-------------------------------+   |
                                        SFTB_REF.dcg    |
                                                        |
                                                        |
                    +-------------------------------+   |
                    |                               |   |
           Manual   | 100:[cat sentence] => [...]  -----+
                    |                               |
                    +-------------------------------+
                ``SFTB / Grammar Rules Reference Manual''


                 Figure 1.2   Sample Rule-related Reference


% END OF FILE
