Example of "HANLP" HANLP Chinese Natural Language Processing tool Walkthrough

Source: Internet
Author: User

HANLP Chinese Natural Language Processing Tool Example Walkthrough

Bai Ningsu

November 25, 2016 13:45:13

Abstract:HANLP is a Java toolkit for HANKCS individuals to complete a range of models and algorithms, with the goal of popularizing natural language processing in production environments. HANLP has the features of perfect function, high performance, clear structure, and a newly-customizable corpus. While providing rich functionality, HANLP internal modules adhere to low-coupling, model adhere to lazy loading, service adhere to static provision, the dictionary adhere to the clear release, the use is very convenient, and bring some corpus processing tools, to help users to train their own corpus. I firmly support open source projects, the original intention is to use natural language processing tools for the basic operation of the completion. Later found HANLP sincere intimate, code Java writing, document structure rigorous, directory clear is the ground gas annotation and interpretation. Documents we refer to the official can, this article introduces HANLP related Information link, chapter Two introduces the operation of HANLP part, follow-up articles for source analysis. ( The original author, reproduced annotated source : HANLP Chinese Natural Language Processing Tool example walkthrough . )
Catalogue

"HANLP" HANLP Data Link Summary (1)

example of "HANLP" HANLP Chinese Natural Language processing tool Walkthrough (2)

Research on source code analysis of "HANLP" HANLP Natural language processing (3)

1 myeclipse Mounting HANLP

"Note": This article focuses on method invocation and operation, follow-up article focus on principles and source code Analysis .

Specific operation extension step to see the official documentation, this article is a record of the author's operations for practical application. HANLP separates data from programs, giving users the freedom to customize. HANLP consists of three parts: HANLP =. Jar + Data +. Properties, please go to the project homepage to download these three sections.

1 jar, Data.zip, hanlp.properties is the installation configuration file, Orange box for the source code.

2 Open MyEclipse New Project HANLP, put the jar into the Lib package and build the dependencies, Data.zip, hanlp.properties are placed in the HANLP home directory.

3 Hanlp.properties to modify, only need to change the ROOT=YOURPATH/HANLP can

4 Put the modified hanlp.properties into the workspace hanlp/bin next copy can be completed

5 test participle:

such as on the MyEclipse under the completion of HANLP installation, what is required, only need to hanlp points can be prompted basic functions. Here is a point, the data under the model is mainly used for syntactic analysis, by default, the original author split it open, the need to download themselves.

2 participle operations

3 Dictionaries

4 named entity recognition

5 Chapters understanding

6 Simplified Pinyin Conversion

7 Dependency Syntax Analysis

8 Smart Recommendations

9 Lucene plug-in

10 other document features

Example of "HANLP" HANLP Chinese Natural Language Processing tool Walkthrough

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.