[][src]Trait jieba_rs::KeywordExtract

pub trait KeywordExtract {
    fn extract_tags(
        &self,
        sentence: &str,
        top_k: usize,
        allowed_pos: Vec<String>
    ) -> Vec<Keyword>; }

Required methods

fn extract_tags(
    &self,
    sentence: &str,
    top_k: usize,
    allowed_pos: Vec<String>
) -> Vec<Keyword>

Loading content...

Implementors

impl<'a> KeywordExtract for TFIDF<'a>[src]

impl<'a> KeywordExtract for TextRank<'a>[src]

Loading content...