Docsity

Computational linguistics Lectures notes 2 - C. Chesi, Appunti di Linguistica

Toggle sidebar
bg1
19.10.18
FORMAL GRAMMARS & CHOMSKY’S HIERARCHY
Essential references
●(http://www.ciscl.unisi.it/master/materials.htm)
●Jurafsky, D. & Martin, J. H. (2009) Speech and Language Processing. Prentice‐Hall.
http://www.cs.colorado.edu/~martin/slp.html (ch.2, 12)
Extended references
●Parte, B., Ter Meulen, A., & Wall, R. (1990) Mathematical methods in linguistics. Springer.
●Hopcroft, Motwani& Ullman (2001) Introduction to the automata theory, languages
and computation. Addison Wesley. Boston
●Turcato D. (1993) Grammatiche formali e linguaggio naturale. Calderini Bologna
Linguistic Competence
What kind of information structure do we need?
●A word can start by wo... (word) but not by wb...
●The sin “sings” is different from the one in “roses”
●“the rose is beautiful” Vs. *“the is beautiful rose”
●“The cat chases the dog” > subj: cat(agent); verb: chase(action); obj: dog(patient)
●?the television chases the cat
●“the houses” Vs. “some house”
Linguistic competence is a (finite) knowledge that allows us to:
●Recognizing as grammatical a(n infinite) set of expressions
●Assigning to them the correct meaning
Linguistic competence is the system of linguistic knowledge possessed by native speakers of a language.
It is distinguished from linguistic performance, which is the way a language system is used in
communication. Noam Chomsky introduced this concept in his elaboration of generative grammar,
where it has been widely adopted and competence is the only level of language that is studied.
According to Chomsky, competence is the ideal language system that enables speakers to produce and
understand an infinite number of sentences in their language, and to distinguish grammatical sentences
from ungrammatical sentences. This is unaffected by "grammatically irrelevant conditions" such as
speech errors. In Chomsky's view, competence can be studied independently of language use, which falls
under "performance", for example through introspection and grammaticality judgments by native
speakers.
Many other linguists – functionalists, cognitive linguists, psycholinguists, sociolinguists and others have
rejected this distinction, critiquing it as a concept that considers empirical work irrelevant and left out
many important aspects of language use. Also, it has been argued that the distinction is often used
exclude real data that is, in the words of William Labov, "inconvenient to handle" within generativist
theory.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Anteprima parziale del testo

Scarica Computational linguistics Lectures notes 2 - C. Chesi e più Appunti in PDF di Linguistica solo su Docsity!

FORMAL GRAMMARS & CHOMSKY’S HIERARCHY

Essential references ●(http://www.ciscl.unisi.it/master/materials.htm) ●Jurafsky, D. & Martin, J. H. (2009) Speech and Language Processing. Prentice‐Hall. http://www.cs.colorado.edu/~martin/slp.html (ch.2, 12) Extended references ●Parte, B., Ter Meulen, A., & Wall, R. (1990) Mathematical methods in linguistics. Springer. ●Hopcroft, Motwani& Ullman (2001) Introduction to the automata theory, languages and computation. Addison Wesley. Boston ●Turcato D. (1993) Grammatiche formali e linguaggio naturale. Calderini Bologna Linguistic Competence What kind of information structure do we need? ●A word can start by wo... (word) but not by wb... ●The sin “sings” is different from the one in “roses” ●“the rose is beautiful” Vs. *“the is beautiful rose” ●“The cat chases the dog” > subj: cat(agent); verb: chase(action); obj: dog(patient) ●?the television chases the cat ●“the houses” Vs. “some house” Linguistic competence is a (finite) knowledge that allows us to: ●Recognizing as grammatical a(n infinite) set of expressions ●Assigning to them the correct meaning Linguistic competence is the system of linguistic knowledge possessed by native speakers of a language. It is distinguished from linguistic performance, which is the way a language system is used in communication. Noam Chomsky introduced this concept in his elaboration of generative grammar, where it has been widely adopted and competence is the only level of language that is studied. According to Chomsky, competence is the ideal language system that enables speakers to produce and understand an infinite number of sentences in their language, and to distinguish grammatical sentences from ungrammatical sentences. This is unaffected by "grammatically irrelevant conditions" such as speech errors. In Chomsky's view, competence can be studied independently of language use, which falls under "performance", for example through introspection and grammaticality judgments by native speakers. Many other linguists – functionalists, cognitive linguists, psycholinguists, sociolinguists and others have rejected this distinction, critiquing it as a concept that considers empirical work irrelevant and left out many important aspects of language use. Also, it has been argued that the distinction is often used exclude real data that is, in the words of William Labov, "inconvenient to handle" within generativist theory.

What to include: ●Word order → meaning ex. I saw a man in the park with a binocular ●Agreement ex. ●Non‐local dependencies (pronominal binding, syntactic movement) ex. Grammar adequacy Adequacy: a grammar must provide an adequate description of the linguistic reality we want to describe. We consider three levels of adequacy: ●Observational: the language described by the grammar coincides with the one we want to describe

  • The theory achieves an exhaustive and discrete enumeration of the data points.
  • There is a pigeonhole for each observation. ●Descriptive: the grammatical analysis provides relevant structural descriptions that are coherent with the speakers’ intuitions
  • The theory formally specifies rules accounting for all observed arrangements of the data.
  • The rules produce all and only the well-formed constructs (relations) of the protocol space.
  • ...the grammar gives a correct account of the linguistic intuition of the native speaker, and specifies the observed data (in particular) in terms of significant generalizations that express underlying regularities in the language. ●Explicative: the grammar is learnable and it permits to draw conclusions on what’s more or less difficult to be processed.
  • The theory provides a principled choice between competing descriptions.
  • It deals with the uttermost underlying structure.
  • It has predictive power.
  • A linguistic theory that aims for explanatory adequacy is concerned with the internal structure of the device [i.e. grammar]; that is, it aims to provide a principled basis, independent of any particular language, for the selection of the descriptively adequate grammar of each language. ADEQUACY is not related to the meaning, it only tells us that a sentence is correct or not, without providing an interpretation. In his seminal work Aspects of the Theory of Syntax (1965), Noam Chomsky introduces a hierarchy of levels of adequacy for evaluating grammars (theories of specific languages) and metagrammars (theories of grammars). These levels constitute a taxonomy of theories (a grammar of a natural language being an example of such a theory) according to potency. This taxonomy might be extended to scientific theories in general, and from there even stretched into the realm of the aesthetics of art.

A

a B b c How to formalize a grammar A= Alphabet Finite set of chars (A* = the set of all possible strings built concatenating elements of A;  is the null element) V= Vocabulary (potentially in) finite set of words, built concatenating elements of A (V  A) L= Language (potentially in) finite set of sentences, built concatenating elements of V (L  V) V⸦ A* A* V A* A* V V L⸦V : language is included in the vocabulary set but cannot coincide with it. Es. The cat is on the table ⸦ V and also ⸦ L The is cat the on table ⸦ V but NOT ⸦ L A formal grammar for a language Lis a set of rules that allows us to recognize and generate all (and only) the sentences belonging to Land(eventually) assign to them an adequate structural des cription. Linear order Dominance A dominates c c dominates b a dominates b ≠ b dominates A ≠ c dominates A This is not possible because the vocabulary cannot include all the possible combinations of words. In formal language theory, a grammar (when the context is not given, often called a formal grammar for clarity) is a set of production rules for strings in a formal language. The rules describe how to form strings from the language's alphabet that are valid according to the language's syntax. A grammar does not describe the meaning of the strings or what can be done with them in whatever context—only their form. Formal language theory, the discipline that studies formal grammars and languages, is a branch of applied mathematics. Its applications are found in theoretical computer science, theoretical linguistics, formal semantics, mathematical logic, and other areas.

A Formal Grammar G must be: ●explicit (each grammaticality judgment must be just the result of the mechanical application of the rules) ●consistent (the very same sentence can’t be judged both grammatical and ungrammatical at the same time) Phrase Structure Grammar, PSG (Chomsky 1965) is an ordered 4‐tuple (Vᵀ,Vᴺ →{S}): Vᵀ is the terminal vocabulary Vᴺ is the non‐terminal vocabulary (Vᵀ U Vᴺ = V)

→ is a binary, asymmetric, transitive relation defined on V*, also known as rewriting rule:

for any symbol A Є Vᴺ φAψ→ φτψ for some φ, τ, ψ Є V* {S} is a subset of Vᴺdefined as the axiom(s) of the rewriting rules. By default, S (Sentence) is the only symbol present in this set. CP NP VP D N V The cat i Give two strings φ and ψ Є V* there is a φ‐derivation of ψ if φ →* ψ. If there is a φ-derivation of ψ then we conclude that φ dominates ψ. Such a relation is reflexive and transitive. A φ‐derivation of ψ is terminated if: ●ψ Є Vᵀ* ●There is no χ such that a ψ‐derivation of χ exists Given a grammar G, a language generated by G, is said L(G), that is the set φ of all possible strings for which a terminated S‐derivation of φ exists. A Structural Description ( syntactic tree ) is a 5‐tuple (V, I, D, P, A) such that: V is a finite set of vertices (e.g. v1, v2, v3…) I is a finite set of labels (e.g. S, DP, VP, the, table…) D is a dominancerelation, which is a weak relation (namely a binary, reflexive antisymmetric and transitive relation) defined on V P is a precedencerelation, which is a strict order (namely a binary, anti‐reflexive, antisymmetric and transitive relation) defined on V A is an assignment function; i.e. a non-surjective relation from V to I

Vᴺ

Vᵀ

D → the *the → D NP → N,D VP → V S → NP,VP NP →  Any element of Vᴺ can be transported to the element of Vᵀ. S → Xa This provides the possibility to recursivity, X → Xa i.e. to pursue the two paths X → a

Decidability A set ∑ is considered. ●Decidable (or recursive) if for any element e, belonging to the universe set, there is a mechanical procedure that in a finite set of steps terminates by saying if e Є or Є to ∑ (not belonging to ∑ implies that e belongs to the complement of ∑ defined a ∑-) ●Recursively enumerable when a procedure exists that enumerates all and only the elements of ∑ Regular Grammars / Languages Regular grammars admit rules of this kind: A → xB Or (systematically) of this kind: A → Bx In mathematics, logic and computer science, a formal language is called recursively enumerable (also recognizable, partially decidable, semi decidable, Turing-acceptable or Turing-recognizable) if it is a recursively enumerable subset in the set of all possible words over the alphabet of the language, i.e., if there exists a Turing machine which will enumerate all valid strings of the language. Recursively enumerable languages are known as type-0 languages in the Chomsky hierarchy of formal languages. All regular, context-free, context-sensitive and recursive languages are recursively enumerable. The class of all recursively enumerable languages is called RE. What Chomsky realized is that if we put some constant at the left or right of the arrow, we generate something more deep but simple. A right regular grammar (also called right linear grammar) is a formal grammar (N, Σ, P, S) such that all the production rules in P are of one of the following forms: B → a - where B is a non-terminal in N and a is a terminal in Σ B → aC - where B and C are non-terminals in N and a is in Σ B → ε - where B is in N and ε denotes the empty string, i.e. the string of length 0. In a left regular grammar (also called left linear grammar), all rules obey the forms A → a - where A is a non-terminal in N and a is a terminal in Σ A → Ba - where A and B are in N and a is in Σ A → ε - where A is in N and ε is the empty string. A regular grammar is a left or right regular grammar. Some textbooks and articles disallow empty production rules and assume that the empty string is not present in languages.

The languages generated by such grammars are named Regular. *S → NP, VP (excluded by regular grammar because VE and NP are phrases) S → the boy, VP (ok because VP is on the right) NP → NP, the boy (it is a good G2 rule but not a regular grammar one) GR S S → aR R → bR a R R→ C b R …R b c G2 S S → Rc R R → Rb R c R → a …R b a b Automata and computation Automata are mathematical computational models composed by states and transitions among states. Example of automaton: electric switch! 0 = on 1 = off > = push Finite State Automata (FSA) Finite‐State Automata (FSA) are 5‐tuples where: Q = non‐null, finite set of states Σ = non‐null, finite set of characters (alphabet) acceptable as input q0 = initial states, such that q0 Є Q F = final states, such that F Є Q δ = finite set of rules defined from QxΣ to Q R stands for the recursivity of the grammar. They are both valid, but they assign to the string two different strings

Finite state machines can be subdivided into transducers, acceptors, classifiers and sequencers. Acceptors (also called recognizers and sequence detectors), produce binary output, indicating whether or not the received input is accepted. Each state of an FSM/FSA is either "accepting" or "not accepting". Once all input has been received, if the current state is an accepting state, the input is accepted; otherwise it is rejected. As a rule, input is a sequence of symbols (characters); actions are not used. A (possibly infinite) set of symbol sequences, aka. formal language, is called a regular language if there is some Finite State Machine that accepts exactly that set. For example, the set of binary strings with an even number of zeroes is a regular language, while the set of all strings whose length is a prime number is not. A machine could also be described as defining a language, that would contain every string accepted by the machine but none of the rejected ones; that language is "accepted" by the machine. By definition, the languages accepted by FSMs are the regular languages—; a language is regular if there is some FSM that accepts it. The problem of determining the language accepted by a given finite state acceptor is an instance of the algebraic path problem—itself a generalization of the shortest path problem to graphs with edges weighted by the elements of an (arbitrary) semiring. Classifiers is a generalization of a finite state machine that, similar to an acceptor, produces a single output on termination but has more than two terminal states. Transducers generate output based on a given input and/or a state using actions. They are used for control applications and in the field of computational linguistics. Sequencers, or Generators , are a subclass of the acceptor and transducer types that have a single-letter input alphabet. They produce only one sequence which can be seen as an output sequence of acceptor or transducer outputs. Determinism A further distinction is between deterministic (DFA) and non-deterministic (NFA, GNFA) automata. In a deterministic automaton, every state has exactly one transition for each possible input. In a non-deterministic automaton, an input can lead to one, more than one, or no transition for a given state. The powerset construction algorithm can transform any nondeterministic automaton into a (usually more complex) deterministic automaton with identical functionality. A finite state machine with only one state is called a "combinatorial FSM". It only allows actions upon transition into a state. This concept is useful in cases where a number of finite state machines are required to work together, and when it is convenient to consider a purely combinatorial part as a form of FSM to suit the design tools.

Finite State Grammars (Linguaggi Regolari) Regular Expressions (RE) We used Regular Expressions to query unstructured corpora. RE are algebraic notation to express sets of strings. The key of a REis the identification pattern composed by alphanumeric chars (including spacing and punctuation) and special signs indicating precise relations among chars. Finite automata are often used in the frontend of programming language compilers. Such a frontend may comprise several finite state machines that implement a lexical analyzer and a parser. Starting from a sequence of characters, the lexical analyzer builds a sequence of language tokens (such as reserved words, literals, and identifiers) from which the parser builds a syntax tree. The lexical analyzer and the parser handle the regular and context-free parts of the programming language's grammar. A regular expression, regex or regexp (sometimes called a rational expression) is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually this pattern is then used by string searching algorithms for "find" or "find and replace" operations on strings, or for input validation. The concept arose in the 1950s when the American mathematician Stephen Cole Kleene formalized the description of a regular language. The concept came into common use with Unix text-processing utilities. Since the 1980s, different syntaxes for writing regular expressions exist, one being the POSIX standard and another, widely used, being the Perl syntax. Regular expressions are used in search engines, search and replace dialogs of word processors and text editors, in text processing utilities such as sed and AWK and in lexical analysis. Many programming languages provide regex capabilities, built-in or via libraries.

Do you remember Eliza? Eliza (Weizenbaum, anno 1966): Human: Well, my boyfriend made me come here. ELIZA: Your boyfriend made you come here? Human: He says I'm depressed much of the time. ELIZA: I am sorry to hear you are depressed. Human: It's true. I'm unhappy. ELIZA: Do you think coming here will help you not to be unhappy? Eliza uses regular expressions : → RE and Substitution ● s/Regular_Expression_1/Regular_Expression_2/ ● s/ www.[a-z].com / www.wow.it/ → Registers: using block operators (round brackets indicate a block), we can reuse a matched pattern: ● s/ the (house|car) has been bought by (Mary|John)/ \2 bought the \1 / → Substitutions by ELIZA: ● s/ I’m .* ?/I’m sorry to hear that you are \1/ ● s/ everybody is (.) / in which sense they are \1?/ ● s/ always / can you make a specific example? Trivia: chatbox Programming a chatbot for like/dislike patterns using «Scratch» A chatbot (also known as a smartbots, talkbot, chatterbot, Bot, IM bot, interactive agent, Conversational interface or Artificial Conversational Entity) is a computer program or an artificial intelligence which conducts a conversation via auditory or textual methods. Such programs are often designed to convincingly simulate how a human would behave as a conversational partner, thereby passing the Turing test. Chatbots are typically used in dialog systems for various practical purposes including customer service or information acquisition. The term "ChatterBot" was originally coined by Michael Mauldin (creator of the first Verbot, Julia) in 1994 to describe these conversational programs. Today, most chatbots are either accessed via virtual assistants such as Google Assistant and Amazon Alexa, via messaging apps such as Facebook Messenger or WeChat, or via individual organizations' apps and websites.

How to determine if a string can be generated by a Regular Grammar? ● Pumping lemma for Regular Grammar If A is a Regular Language, then there is a number p (expressing «pumping» magnitude), for which, if sis a generic string A of length at least equal to p, then it can be split in 3 parts, s = xyz such that: I. For any i ≥ 0, xyiz Є A II. |y| > 0 III. |xy| ≤ p ● anbn^ (counting recursion) cannot be generated by Regular Grammars (no way to pump a number of as followed by the very same number of bs) Context-Free Grammars Context-Free Grammars (CFG) admits only this kind of rules: A → γ (where γ is any sequence of (non)terminal symbols) Languages generated by CFG are named Context-Free Languages Any CFG can be «converted» in a (weakly) equivalent CFG in the Chomsky Normal Form (CNF): A→BC A→a Describing syntactic ambiguity Rules with the same left-side symbol should be present in the grammar to permit ambiguity: ● VP → V NP ● VP → V NP PP ● NP → D N ● NP → D N PP In formal language theory, a context-free grammar (CFG) is a certain type of formal grammar: a set of production rules that describe all possible strings in a given formal language. Production rules are simple replacements. For example, the rule A → alpha replaces A with alpha. There can be multiple replacement rules for any given value. For example, A → alpha and A → beta.

s = uvxyz such that: I. For any i ≥ 0, uvixyiz Є A II. |vy| > 0 III. |vxy| ≤ p E.g. neither anbncn^ nor XX is not generable by CFGs Chomsky’s Hierarchy (1956, 59): Inclusion relations among Grammars Type 3: Regular Grammars (equivalent device: Finite State Automata) A → xB Type 2: Context Free Grammars (equivalent device: Push-Down Automata) A → γ Type 1: Context Sensitive Grammars (e.d.: Linear-Bounded Automata) αAβ → αγβ (γ≠ε) Type 0: Turing Equivalent Grammars (e.d.Augmented Transition Networks) α→β (α≠ε) Type-0 grammars → Unrestricted grammar Type-0 grammars include all formal grammars. They generate exactly all languages that can be recognized by a Turing machine. These languages are also known as the recursively enumerable or Turing-recognizable languages. Note that this is different from the recursive languages, which can be decided by an always-halting Turing machine. Type-1 grammars → Context-sensitive grammar Type-1 grammars generate context-sensitive languages. These grammars have rules of the form alpha-A- beta →alpha-gamma-beta with A a nonterminal and alpha, beta and gamma strings of terminals and/or nonterminals. The strings alpha and beta may be empty, but gamma must be nonempty. The rule S → epsilon is allowed if S does not appear on the right side of any rule. The languages described by these grammars are exactly all languages that can be recognized by a linear bounded automaton (a nondeterministic Turing machine whose tape is bounded by a constant times the length of the input.) Type-2 grammars Main article: Context-free grammar Type-2 grammars generate the context-free languages. These are defined by rules of the form A → gamma with A being a nonterminal and gamma being a string of terminals and/or nonterminals. These languages are exactly all languages that can be recognized by a non-deterministic pushdown automaton. Context-free languages—or rather its subset of deterministic context-free language—are the theoretical basis for the phrase structure of most programming languages, though their syntax also includes context- sensitive name resolution due to declarations and scope. Often a subset of grammars is used to make parsing easier, such as by an LL parser. Type-3 grammars Main article: Regular grammar Type-3 grammars generate the regular languages. Such a grammar restricts its rules to a single nonterminal on the left-hand side and a right-hand side consisting of a single terminal, possibly followed by a single nonterminal (right regular). Alternatively, the right-hand side of the grammar can consist of a single terminal, possibly preceded by a single nonterminal (left regular). These generate the same languages. However, if left-regular rules and right-regular rules are combined, the language need no longer be regular. The rule S → epsilon is also allowed here if S does not appear on the right side of any rule. These languages are exactly all languages that can be decided by a finite state automaton. Additionally, this family of formal languages can be obtained by regular expressions. Regular languages are commonly used to define search patterns and the lexical structure of programming languages.

Chomsky’s Hierarchy Where are Natural Languages? Natural languages are NOT generable by Regular Grammars (Chomsky 1956): If X then Y (with A and B potentially of the form “if X then Y”, generating then a counting dependency of the anbn^ kind, that is: ifn^ thenn) Natural languages are NOT even generable by Context-Free Grammars (Shieber1985):

  • Jan säit das merem Hans es huus hälfed aastriiche (“famous” switzh-German dialect) (J. says that we to H. The house have helped painting)
  • Gianni, Luisa e Mario sono rispettivamente sposato, divorziata e scapolo ( “ABC...ABC”... Are languages of the XX kind) Recursion in natural languages (that is, how to make infinite use of finite means): ● Right recursion (abn: iteration or «tail recursion»): [the dog bit [the cat [that chased [the mouse [that ran]]]]] ● Center embedding (anbn: counting recursion or «true recursion»): [the mouse [(that) the cat [(that) the dog bit] chased] ran] ● Cross-serial dependencies (xx, identity recursion) Aldo, Bea e Carlo sono rispettivamente sposato, nubile e divorziato A.male, B.female, C.male are respectively married.male, unmarried.female & divorced.male

(1) morphosyntactic phrases: Nouns e.g. “case” (houses): cat=“N.comm.count.inanim”, agree=“f.p”, role=“head” lemma=“casa” Attribute Value (default, [optional]) Explaination Cat 1. N/ N.p ro[. cl]

  1. [comm/prop]
  2. [count/mass]
  3. [anim/[per[.first/.last] /impers/reflex] /inanim/[city/gpe/org]] noun/pronoun[ clitic] common/pro per contable/mas s ani mat e/[ per son[ first/l ast na me] impersonal/reflexive] /inanimate[city/geo - political entity/company] Agree 1.^ [m/f/n]
  4. [s/p/ n] mas c/si ng/ne ut ge nder sin g/ plur /null number Role head/arg/adj head / selected argument / unselected adjunct Sem [alphanumeric index] Multi Wordnet i d Lemma [any alphanumeric character] dicti onar y uninfl ec te d for m, if n ull its val ue is th e token form Verbs e.g. “corre” ((he) runs): cat=“V.ind.pres”, agree=“s”, role=“head” lemma=“correre”) Attribute Value (default, [optional]) Explaination Cat 1. V/V.aux/V.mod/V.asp
  5. ind/subj/cond/part/imp/inf main/auxiliary/modal/aspectual verb indicative/subjunctive/conditional/ participe/imperative/inifitive mood present/past/remote past/future/ anterior future/imperfect aspectual classes (e.g. “cough” is an event, telic and punctual) Subcategorization classes pers on gen der num ber head / unselected adjunct (e.g. auxiliaries, modals)
  6. pres/past/past+/fut/fut+/impf
  7. [state/event[.atelic/.telic[.punct]]] Subcat transitive/intransitive/ditransitive/ unaccusative/copula/ causative/passive/psych/ control_subj/control_obj Agree 1. [1/2/3]
  8. [m/f/n]
  9. [s/p/n] Role head/[adj]

Adjectives e.g. “forte” (strong): cat=“A.qualif”, agree=“f.s” Attribute Value (default, [optional]) Explaination Cat 1. A

  1. deict/dem/excl/indef/interr/natio n/ num[.ord/.card]/poss/qualif super/dimin/comp ar as for Nouns as for Nouns adjective deictic/demonstrative/exclamative/ interrogative/geographical specification/numeral[ordinal/cardinal]/ possessive/qualificative Subcat superlative/diminutive/comparative form Agree Role Adverbs e.g. prima (before): cat=“ADV.time” Attribute Value (default, [optional]) Explaination Cat Role
  2. ADV
  3. adfirm/advers/compar/dou bt/ interr/limit/loc[.pro.cl]/manner/n eg/ quant/reason/streng/ superl/temp [adj] adverb adfirmirmative/adversative/comparative /doubitative/interrogative/limitative/ locative[.pro.cl]/manner/negative/ quantitative/reason/strength/ superlative/tempoparl adjunct Determiners e.g. il gatto (the cat): cat=“D.art.def” Attribute Value (default, [optional]) Explaination Cat 1. D determiner
  4. art[.def/.indef]/demo/ article[definite/indefinite]/demonstrative/ quant[.univ/.exist/.comp/.distr/.neg] quantifier[universal/exististential/ comparative/distributive/negative] Agree Same as Nouns Role [adj] adjunct