(4.1) Lingpipe running in Eclipse

Source: Internet
Author: User

Hotel Reviews Affective Analysis System (iv)--lingpipe operation in Eclipse

Originally intended to do this project, the use of semantic-based text bias analysis method, that is, by the comment text in the Chinese analysis, to stop the word, and then in the context of the tendency of the semantic model of the extracted adjectives or phrases to be judged and given a propensity value, Finally, all the above tendencies are summed up to get the overall text tendency of the article. However, due to the lack of a good method in the corpus and orientation dictionaries, and the understanding of a natural language processing software package Lingpipe when consulting the relevant materials, it was decided to study the method based on machine learning text orientation.

I. Introduction of LINGPIPE

Lingpipe is an alias company developed a natural language processing software package, including topic classification, sentence detection, character language modeling, such as more than 10 modules. and the documentation is complete, and even every algorithm has a paper reference. What is more commendable is that it supports Chinese.

Official address:http://alias-i.com/lingpipe/

:http://alias-i.com/lingpipe/web/download.html

Lingpipe is divided into two chunks, one is the lingpipe core file, the other is the Lingpipe model class. Need to support Chinese words need to download Chinese Word segmentation module.

Second, the environment

1. Operating system: WINDOWS7,X86,32 bit

2. Java JDK1.6

3. Eclipse3.4

4. LingPipe4.1

Third, the configuration steps

(1) Create a new project named Sentimentanalysis:

A) Click File >> new >> project in the menu to select Java Project from Existing Ant BuildFile in the New Project Wizard drop-down list.

b) Click Next and enter sentimentanalysisafter project name.

c) Click Browse to locate the $LINGPIPE/build.xml file.$LINGPIPE是指LingPipe解压缩后所在的根目录。

(2) Setting classpath

A) Click Project on the main menu to select Properties

b) Select Java Build Path and click Libraries

c) Click Add External JARs, select $LINGPIPE/ Lib/junit-3.8.1.jar

d) Click OK

(4.1) Lingpipe running in Eclipse

Related Article

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.