pub enum HeadFallback {
FirstMorpheme,
FirstWord,
}Expand description
What Schema::positions takes as the head word of a bunsetsu in which
no morpheme can be one: a bunsetsu of function words, of what is not a
head, and of symbols, such as 「 / する / 」 / と.
Variants§
FirstMorpheme
The first morpheme, whatever it is: the bracket of 「 / する / 」 / と. What CaboCha does, so the schema of a model converted from CaboCha has it, and so does the schema of a model file older than the version 4, which has no such setting. A space is passed over, as everywhere: CaboCha is never given one.
FirstWord
The first morpheme that is a word: not a comma, a period or a bracket, not a space, and not a particle. する in 「 / する / 」 / と, and the first letter of a word that a dictionary cuts into letters it calls symbols (S / i / r / i / の). The first morpheme when the bunsetsu has no such word. The schemas of this crate have it.