Develop a word-wave application using Eclipse and other open source software

Source: Internet
Author: User
Keywords Apps Eclipse Open-source software vocabulary waves
Tags aliyun analysis application apps cloud content development eclipse

This visualization is a http://www.aliyun.com/zixun/aggregation/17547.html "> powerful to a tongue-tied method that quickly determines what a particular text refers to. As a by-product, visualization also provides a method for real-time text analysis. This article describes how to develop text visualization and analysis software using open source tools and libraries. The application of this article compares and analyzes two texts with the same or similar content, and enables users to gain new insights about the text and its content.

The application you build is based on the vocabulary cloud visualization. The vocabulary cloud visualization can parse specific text and sort its words by frequency. Rank the word, and then set the font size according to its rank. The highest-ranked words are displayed in the largest font. A visual word layout can change, but it usually looks like a cloud, as shown here:

Figure 1. A word cloud

To generate the word cloud shown, I used IBM Many eyes to analyze the CEO and CEO speech in IBM's 2011 report.

In this article, the application generates a lexical wave, the text visualization of a shape like a wave. Word waves put the highest-ranked words in the upper-left corner. Shows an example of visualization with the same article:

Figure 2. Examples of lexical waves

The visual text shows the higher-ranked vocabulary. Based on the visualization of this paper, it is assumed that high rank words have a hierarchy of importance. Comparisons are required when two text visualizations are displayed simultaneously. Comparisons are particularly important if the contents of two texts are identical or similar. For example, comparisons of the text that describe the policies of two companies in the same industry show similarities and differences in the focus of the two companies.

Is the final comparison sketch of two texts. The first text visualization is at the top and the second is at the bottom. The higher-ranked word is on the left.

Figure 3. Visual text comparison sketch

This article and its code will show you how to:

Utility open source tools and libraries develop a command-line application that enables text visualization and text comparisons. Use lexical wave visualization to create a visualization of a particular text (similar). Two visualizations are combined into the same image for comparison and analysis. Create a visual, compelling video from the visualization.

This article does not delve into the details of development, so familiarity with Java™ development and the Eclipse programming model is helpful to readers. All of these application source code (the application's Eclipse project and the Web site where updates are ready to be deployed) can be downloaded.

I'll start with a brief introduction to the development environment component.

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.