#[non_exhaustive]pub enum Group {
Distance,
Source,
Target,
Left,
Right,
Children,
Gap,
AfterHead,
}Expand description
A group of features of a decision.
The name of a feature starts as CaboCha writes it; the examples are for 彼 / は as the source.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Distance
The number of bunsetsu from the source to the target, in three
classes: DIST:1, DIST:2-5, DIST:6-.
Source
The source: the surface, the levels of the part of speech and the
conjugation form of its head (SHS:彼, SHP0:名詞), its function
word (SFS:は), its first and its last morpheme (SLS:, SRS:);
its punctuation (SPUNC:、), its brackets (SOB:「, SOB:1,
SCB:」, SCB:1), each of its particles (SCASE:は), and whether
it is the first or the last bunsetsu of the sentence (SBOS:1,
SEOS:1).
Target
The target: what Group::Source has, with D in front
(DHS:読ん).
Left
The bunsetsu before the source: the surface of its function word
(LF:).
Right
The bunsetsu after the target: the surfaces of its first morpheme,
its head and its function word (RL:, RH:, RF:).
Children
The bunsetsu already attached to the source (a:) and to the target
(A:), each by its function word: the surface of a word of
Schema::lexicalized, or else the conjugation form, or else the
part of speech. These are the only features that depend on the
decisions made before.
Gap
The bunsetsu between the source and the target: their punctuation
(GPUNC:、), their brackets (GOB:「, GCB:」), the function word
of each when it is a particle (GCASE:を), and whether brackets
open or close in between: GNB:1 for neither, GOB:1, GCB:1,
GBB:1 for both.
AfterHead
The morpheme after the head of the source (SNS:, SNP0:, SNF:)
and of the target (DNS:): its surface, the levels of its part of
speech and its conjugation form. CaboCha has no such feature. Its
head is the last word of a bunsetsu that is not a function word;
the head of a Schema can be the content word before it (利用 in
利用 / し / た, 読む in 読む / こと / を), and the word that follows
says what the bunsetsu is as a whole.