• About The Algorithm Simplification


    For mode 1, you have to ergod all the data in the files. So the key point to solve this problem is to save the words.

    I realized that using the Dictionary function in C# is very convinient. So I tried to learn it from the internet. As a result, the "Dictionary" has done me a favor.

    At the beginning of mode 2, I thought about something i learned from the "Introduction To Big Data " course.

    Purify the data, choose what i need.The most frequent 2-word's word gruop must from the most frequent words.

    Since i have got the frequenct of all words from mode1, maybe i can finish mode 2 by this idea.

    BUt I have to ergod all the text again and againg to analyse the most frequent words to the least.This must cost me a lot of time!

    The idea from mode 1 can easily be transfered to that adapt to mode 2, and the fact that the time it costs is just a lit bit more than mode 1.

    So i abandoned my first thinking,chose the method of mode 1.

  • 相关阅读:
    centos
    ssh 登录 centos 服务器
    Sql NoSql
    Java
    PHP
    React Hooks使用
    前端优化tips
    Error:Node Sass version 5.0.0 is incompatible with ^4.x 解决
    css换行
    git 关联多个远程仓库
  • 原文地址:https://www.cnblogs.com/jinbo123/p/3993446.html
Copyright © 2020-2023  润新知