pub struct WebFeatureExtractor { /* private fields */ }Implementations§
Source§impl WebFeatureExtractor
impl WebFeatureExtractor
pub fn new(options: WebFeatureOptions) -> Self
pub fn options(&self) -> &WebFeatureOptions
pub fn text_from_html(&self, html: &str) -> String
pub fn extract_from_html(&self, html: &str) -> Vec<WeightedFeature>
pub fn extract_from_text(&self, text: &str) -> Vec<WeightedFeature>
pub fn tokenize(&self, text: &str) -> Vec<String>
Trait Implementations§
Source§impl Clone for WebFeatureExtractor
impl Clone for WebFeatureExtractor
Source§fn clone(&self) -> WebFeatureExtractor
fn clone(&self) -> WebFeatureExtractor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebFeatureExtractor
impl Debug for WebFeatureExtractor
Source§impl Default for WebFeatureExtractor
impl Default for WebFeatureExtractor
Source§fn default() -> WebFeatureExtractor
fn default() -> WebFeatureExtractor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebFeatureExtractor
impl RefUnwindSafe for WebFeatureExtractor
impl Send for WebFeatureExtractor
impl Sync for WebFeatureExtractor
impl Unpin for WebFeatureExtractor
impl UnsafeUnpin for WebFeatureExtractor
impl UnwindSafe for WebFeatureExtractor
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