如何在多耙蟒蛇中调整参数?

How to tuning parameter in multi rake python?

提问人:Baihaqi 提问时间:10/17/2023 更新时间:10/17/2023 访问量:17

问:

我想获得正确的摘要输出,因此我尝试对参数进行一些更改,但输出仍按预期进行。有没有办法调整 Rake 对象中的参数?如何获得最佳参数 Multi Rake Pyhton

这是代码

rake = Rake(
    min_chars=3,
    max_words=3,
    min_freq=1,
    language_code='id',  # 'en'
    stopwords=stopwordsid2,  # {'and', 'of'}
    lang_detect_threshold=10,
    max_words_unknown_lang=2,
    generated_stopwords_percentile=10,
    generated_stopwords_max_len=3,
    generated_stopwords_min_freq=1, )

我只想知道如何在 Rake 中调整最佳参数

python rake 文本提取

评论


答: 暂无答案