pub struct PosFilter { /* private fields */ }Expand description
품사 필터
특정 품사 태그를 포함하거나 제외합니다.
Implementations§
Source§impl PosFilter
impl PosFilter
Sourcepub fn include_nouns(self) -> PosFilter
pub fn include_nouns(self) -> PosFilter
명사 포함 (NNG, NNP, NNB, NR, NP)
Sourcepub fn include_common_nouns(self) -> PosFilter
pub fn include_common_nouns(self) -> PosFilter
일반 명사만 포함 (NNG)
Sourcepub fn include_proper_nouns(self) -> PosFilter
pub fn include_proper_nouns(self) -> PosFilter
고유 명사만 포함 (NNP)
Sourcepub fn include_verbs(self) -> PosFilter
pub fn include_verbs(self) -> PosFilter
동사 포함 (VV)
Sourcepub fn include_adjectives(self) -> PosFilter
pub fn include_adjectives(self) -> PosFilter
형용사 포함 (VA)
Sourcepub fn include_predicates(self) -> PosFilter
pub fn include_predicates(self) -> PosFilter
용언 포함 (VV, VA, VX, VCP, VCN)
Sourcepub fn include_adverbs(self) -> PosFilter
pub fn include_adverbs(self) -> PosFilter
부사 포함 (MAG, MAJ)
Sourcepub fn exclude_particles(self) -> PosFilter
pub fn exclude_particles(self) -> PosFilter
조사 제외 (JK*, JX, JC)
Sourcepub fn exclude_endings(self) -> PosFilter
pub fn exclude_endings(self) -> PosFilter
어미 제외 (E*)
Sourcepub fn exclude_affixes(self) -> PosFilter
pub fn exclude_affixes(self) -> PosFilter
접사 제외 (XP*, XS*)
Sourcepub fn exclude_symbols(self) -> PosFilter
pub fn exclude_symbols(self) -> PosFilter
특수 기호 제외 (S*)
Sourcepub fn include_prefix(self, prefix: &str) -> PosFilter
pub fn include_prefix(self, prefix: &str) -> PosFilter
품사 접두사 포함 추가
Sourcepub fn exclude_prefix(self, prefix: &str) -> PosFilter
pub fn exclude_prefix(self, prefix: &str) -> PosFilter
품사 접두사 제외 추가
Sourcepub fn include_tag(self, tag: &str) -> PosFilter
pub fn include_tag(self, tag: &str) -> PosFilter
정확한 품사 태그 포함 추가
Sourcepub fn exclude_tag(self, tag: &str) -> PosFilter
pub fn exclude_tag(self, tag: &str) -> PosFilter
정확한 품사 태그 제외 추가
Sourcepub fn content_words() -> PosFilter
pub fn content_words() -> PosFilter
내용어 필터 생성 (명사, 동사, 형용사, 부사)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PosFilter
impl RefUnwindSafe for PosFilter
impl Send for PosFilter
impl Sync for PosFilter
impl Unpin for PosFilter
impl UnsafeUnpin for PosFilter
impl UnwindSafe for PosFilter
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<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