Struct rust_bert::pipelines::masked_language::MaskedToken
source · Expand description
Output container for masked language model pipeline.
Fields§
§text: StringString representation of the masked word
id: i64Vocabulary index for the masked word
score: f64Score for the masked word
Trait Implementations§
source§impl Clone for MaskedToken
impl Clone for MaskedToken
source§fn clone(&self) -> MaskedToken
fn clone(&self) -> MaskedToken
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more