Struct rust_bert::pipelines::keywords_extraction::Keyword
source · pub struct Keyword {
pub text: String,
pub score: f32,
pub offsets: Vec<Offset>,
}
Expand description
Fields§
§text: String
String representation of the keyword
score: f32
Similarity score for the keyword
offsets: Vec<Offset>
List of offsets where the keyword was found
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
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