LSS

From UNL Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Syntactic Surface Structures (SSS) are sequences of part-of-speech tags. == Methodology == SSS's are extracted from the tokenization of a corpus using the enumerative di...")
 
(Methodology: typo)
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
Syntactic Surface Structures (SSS) are sequences of part-of-speech tags.  
+
Linear Sentence Structures (LSS) are sequences of part-of-speech tags.  
  
 
== Methodology ==
 
== Methodology ==
SSS's are extracted from the [[tokenization]] of a corpus using the enumerative dictionary, i.e., the list of the word forms available for a given language. As the enumerative dictionary may contain multiword expressions, the length of the SSS may not correspond to the number of isolated words in the sentence, but to the number of dictionary entries resulting from the application of the principle of the longest first. Additionally, as the tokenization does not perform any lexical disambiguation, the SSS contain all possible lexical categories of each of the components. The punctuation of the original sentence is preserved.  
+
LSS's are extracted from the [[tokenization]] of a corpus using the enumerative dictionary, i.e., the list of the word forms available for a given language. As the enumerative dictionary may contain multiword expressions, the length of the LSS may not correspond to the number of isolated words in the sentence, but to the number of dictionary entries resulting from the application of the principle of the longest first. Additionally, as the tokenization does not perform any lexical disambiguation, the LSS contain all possible lexical categories of each of the components. The punctuation of the original sentence is preserved.
  
 
== Categories ==
 
== Categories ==
SSS uses the values of the attribute [[LEX|Lexical Category (LEX)]]:
+
LSS uses the values of the attribute [[LEX|Lexical Category (LEX)]]:
 
*A (adverb)
 
*A (adverb)
 
*J (adjective)
 
*J (adjective)
 
*N (noun)
 
*N (noun)
 
*V (verb)
 
*V (verb)
*O (other)
+
*D (determiner)
 +
etc.<br />
 
The symbol # is used for words not found in the dictionary.
 
The symbol # is used for words not found in the dictionary.
 
The punctuation is preserved.
 
The punctuation is preserved.
  
 
== Ambiguities ==
 
== Ambiguities ==
SSS brings all possible categories of a given string:
+
LSS brings all possible categories of a given string. Ambiguities must be represented between {} and isolated by |. They can be local (affecting the whole sentence) or local (affecting only part of it).
*AN = a string that can be an adverb and a noun
+
*{A|N} = a string that can be an adverb and a noun
*AJN = a string that can be an adverb, an adjective and a noun
+
*{A|J|N} = a string that can be an adverb, an adjective and a noun
*NV = a string that can be a noun and a verb
+
*{N|V} = a string that can be a noun and a verb
 
etc.
 
etc.
  
 
== Example ==
 
== Example ==
SENTENCE: The book is on the table.<br />
+
SENTENCE: The book is on the table.<br />
SSS: AO JNV NOV AJNO AO NV.
+
LSS: D {N|V} {V|I} {P|A|N} D {N|V}.
 
Because:
 
Because:
*"the" may be an adverb or other (determiner)
+
*"the" is a determiner
*"book" may be an adjective, a noun or a verb
+
*"book" may be a verb or a noun
*"is" may be a noun, a verb or other (auxiliary)
+
*"is" may be a verb or an auxiliary
*"on" may be an adjective, an adverb, a noun or other (preposition)
+
*"on" may be a preposition, an adverb or a noun
 
*"table" may be a noun or a verb
 
*"table" may be a noun or a verb
Note that the punctuation is preserved in the SSS.
+
Note that the punctuation (blank spaces and punctuation signs) is preserved in the LSS.
  
 
== Goal ==
 
== Goal ==
The main goal of the SSS is to help users create grammars.
+
The main goal of the LSS is to induce disambiguation rules.

Latest revision as of 07:45, 5 September 2014

Linear Sentence Structures (LSS) are sequences of part-of-speech tags.

Contents

Methodology

LSS's are extracted from the tokenization of a corpus using the enumerative dictionary, i.e., the list of the word forms available for a given language. As the enumerative dictionary may contain multiword expressions, the length of the LSS may not correspond to the number of isolated words in the sentence, but to the number of dictionary entries resulting from the application of the principle of the longest first. Additionally, as the tokenization does not perform any lexical disambiguation, the LSS contain all possible lexical categories of each of the components. The punctuation of the original sentence is preserved.

Categories

LSS uses the values of the attribute Lexical Category (LEX):

  • A (adverb)
  • J (adjective)
  • N (noun)
  • V (verb)
  • D (determiner)

etc.
The symbol # is used for words not found in the dictionary. The punctuation is preserved.

Ambiguities

LSS brings all possible categories of a given string. Ambiguities must be represented between {} and isolated by |. They can be local (affecting the whole sentence) or local (affecting only part of it).

  • {A|N} = a string that can be an adverb and a noun
  • {A|J|N} = a string that can be an adverb, an adjective and a noun
  • {N|V} = a string that can be a noun and a verb

etc.

Example

SENTENCE: The book is on the table.
LSS: D {N|V} {V|I} {P|A|N} D {N|V}.

Because:

  • "the" is a determiner
  • "book" may be a verb or a noun
  • "is" may be a verb or an auxiliary
  • "on" may be a preposition, an adverb or a noun
  • "table" may be a noun or a verb

Note that the punctuation (blank spaces and punctuation signs) is preserved in the LSS.

Goal

The main goal of the LSS is to induce disambiguation rules.

Software