pub enum AnalysisMode {
Full,
NounsOnly,
VerbsOnly,
AdjectivesOnly,
PredicatesOnly,
ContentWordsOnly,
SurfaceOnly,
Lemmatized,
PosTagsOnly,
Custom,
}Expand description
분석 모드
토크나이저의 출력을 필터링/변환하는 모드입니다.
Variants§
Full
모든 형태소 반환 (기본)
NounsOnly
명사만 추출 (NNG, NNP, NNB, NR, NP)
VerbsOnly
동사만 추출 (VV)
AdjectivesOnly
형용사만 추출 (VA)
PredicatesOnly
동사/형용사 추출 (VV, VA)
ContentWordsOnly
내용어만 추출 (명사, 동사, 형용사, 부사)
SurfaceOnly
표면형만 반환 (wakati 모드)
Lemmatized
원형 복원 모드 (동사/형용사를 기본형으로)
PosTagsOnly
품사 태그만 반환
Custom
커스텀 필터 사용
Implementations§
Source§impl AnalysisMode
impl AnalysisMode
Sourcepub const fn uses_pos_filter(&self) -> bool
pub const fn uses_pos_filter(&self) -> bool
이 모드가 품사 필터링을 사용하는지 확인
Sourcepub const fn uses_lemmatization(&self) -> bool
pub const fn uses_lemmatization(&self) -> bool
이 모드가 원형 복원을 사용하는지 확인
Trait Implementations§
Source§impl Clone for AnalysisMode
impl Clone for AnalysisMode
Source§fn clone(&self) -> AnalysisMode
fn clone(&self) -> AnalysisMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnalysisMode
impl Debug for AnalysisMode
Source§impl Default for AnalysisMode
impl Default for AnalysisMode
Source§fn default() -> AnalysisMode
fn default() -> AnalysisMode
Returns the “default value” for a type. Read more
Source§impl Hash for AnalysisMode
impl Hash for AnalysisMode
Source§impl PartialEq for AnalysisMode
impl PartialEq for AnalysisMode
impl Copy for AnalysisMode
impl Eq for AnalysisMode
impl StructuralPartialEq for AnalysisMode
Auto Trait Implementations§
impl Freeze for AnalysisMode
impl RefUnwindSafe for AnalysisMode
impl Send for AnalysisMode
impl Sync for AnalysisMode
impl Unpin for AnalysisMode
impl UnsafeUnpin for AnalysisMode
impl UnwindSafe for AnalysisMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more