pub struct SpellChecker { /* private fields */ }Expand description
Spell checker
Implementations§
Source§impl SpellChecker
impl SpellChecker
Sourcepub fn new(languages: &[String]) -> RragResult<Self>
pub fn new(languages: &[String]) -> RragResult<Self>
Create new spell checker
Sourcepub fn correct(&self, result: OCRResult) -> RragResult<OCRResult>
pub fn correct(&self, result: OCRResult) -> RragResult<OCRResult>
Correct spelling in OCR result
Auto Trait Implementations§
impl Freeze for SpellChecker
impl RefUnwindSafe for SpellChecker
impl Send for SpellChecker
impl Sync for SpellChecker
impl Unpin for SpellChecker
impl UnwindSafe for SpellChecker
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