pub struct SimpleEntityExtractor { /* private fields */ }Expand description
Simple entity extractor based on capitalized words
Extracts potential entities by finding:
- Capitalized words (not at sentence start)
- Multi-word capitalized phrases
Filters out:
- Common stop words
- Single letters
- Words shorter than 2 characters
Implementations§
Trait Implementations§
Source§impl Default for SimpleEntityExtractor
impl Default for SimpleEntityExtractor
Auto Trait Implementations§
impl Freeze for SimpleEntityExtractor
impl RefUnwindSafe for SimpleEntityExtractor
impl Send for SimpleEntityExtractor
impl Sync for SimpleEntityExtractor
impl Unpin for SimpleEntityExtractor
impl UnsafeUnpin for SimpleEntityExtractor
impl UnwindSafe for SimpleEntityExtractor
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