pub enum SurfaceRule {
EveryCharacter,
OneCharacter,
}Expand description
How the surface of a morpheme is matched against the characters of a kind of mark, and what such a match says.
Variants§
EveryCharacter
A surface made of characters of a kind is of the kind, as !? or
」」, and the morpheme is a symbol: it is not the head of a
bunsetsu, whatever its part of speech. The rule of the schemas of
this crate.
OneCharacter
A surface that is one character of a kind is of the kind, and ((
is not a bracket. The match is for the features of the parser only:
the morpheme is a symbol by its part of speech alone, so that an
unknown word ( with the part of speech of a noun can be the head
of its bunsetsu. CaboCha’s rule.
Trait Implementations§
Source§impl Clone for SurfaceRule
impl Clone for SurfaceRule
impl Copy for SurfaceRule
Source§impl Debug for SurfaceRule
impl Debug for SurfaceRule
Source§impl Default for SurfaceRule
impl Default for SurfaceRule
impl Eq for SurfaceRule
Source§impl PartialEq for SurfaceRule
impl PartialEq for SurfaceRule
impl StructuralPartialEq for SurfaceRule
Auto Trait Implementations§
impl Forget for SurfaceRule
impl Freeze for SurfaceRule
impl Move for SurfaceRule
impl RefUnwindSafe for SurfaceRule
impl Send for SurfaceRule
impl Sync for SurfaceRule
impl Unpin for SurfaceRule
impl UnsafeUnpin for SurfaceRule
impl UnwindSafe for SurfaceRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more