Syntactic categories #
A syntactic category is a lexical category, named by its Universal Dependencies part of speech, or
the clause S, which projects from no head. A category carries no level of projection: a noun
phrase and the noun that heads it both have the category N, and whether a node is a minimal, an
intermediate or a maximal projection is read off the tree from its head daughters
(Syntax/Tree/Projection.lean). This is the category stripped of bar level that HPSG's head value
records. PhraseStructure.Cat is the default category type of PhraseStructure.Tree.
Implementation notes #
The complementizer C is SCONJ, the tag UD gives complementizers, and Neg is PART, the tag
of English not and of other particles.
References #
@[instance_reducible]
Equations
- PhraseStructure.instDecidableEqCat.decEq (PhraseStructure.Cat.lex a) (PhraseStructure.Cat.lex b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- PhraseStructure.instDecidableEqCat.decEq (PhraseStructure.Cat.lex a) PhraseStructure.Cat.S = isFalse ⋯
- PhraseStructure.instDecidableEqCat.decEq PhraseStructure.Cat.S (PhraseStructure.Cat.lex a) = isFalse ⋯
- PhraseStructure.instDecidableEqCat.decEq PhraseStructure.Cat.S PhraseStructure.Cat.S = isTrue ⋯
Instances For
@[instance_reducible]
Equations
- PhraseStructure.instReprCat = { reprPrec := PhraseStructure.instReprCat.repr }
Equations
- One or more equations did not get rendered due to their size.
- PhraseStructure.instReprCat.repr PhraseStructure.Cat.S prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "PhraseStructure.Cat.S")).group prec✝
Instances For
@[instance_reducible]
Equations
- PhraseStructure.Cat.instInhabited = { default := PhraseStructure.Cat.S }
Traditional names #
Each name is a match_pattern, so it can be used in pattern position.
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]
Instances For
@[reducible, match_pattern, inline]