Genius Data Processing Project Alpha version code redundancy partial elimination and partial code adjustment process Description

Source: Internet
Author: User

Data processing Project Code Redundancy section elimination Description:

The class Connectcrawler in 1 Connectcrawler.sc is externally referenced 0 times and has a class connection with its same function, so this class can be considered a useless class and therefore can be removed from the project.

2 The method in the DataMining class getcombination,removeblank,repeattedtag,freshdenoisingdata the number of references is 0, and some of the methods are not complete, it can be considered as redundant code, Therefore, it can be removed from the project.

The Factory class in 3 Factory.cs is also referenced 0 times by the external reference, and from subsequent reading of the code it is found that this class is actually a function of the page class and the preview class, but this encapsulation is not used in subsequent use, so it can be considered a useless class and therefore can be removed from the project.

4 Googletranslator class in the implementation of the function of translated text, the use of the last round of the Baidu API in the 2016/1/25 after the use of the stop, so the translation function is invalid, the iteration is based on the last iteration, so the same use of the Baidu API interface, and is the latest interface, And the exception handler is added to ensure that the program can give the correct prompt information when the translation interface call fails, and the test can be used normally.

The Mystringprocess class in the 5 MyStringProcess.cs is not referenced, and most of the code in this class is commented on the iteration, and can be considered a useless class, so it can be removed from the project.

The class Wnetconnectionhelper class in 6 WNetConnectionHelper.cs is not referenced by other classes, and the functionality of this class is to connect to a remote server that has no effect in the entire project and can therefore be removed from the entire project.

Genius Data Processing Project Alpha version code redundancy partial elimination and partial code adjustment process Description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.