Kumo's goal is to create a powerful and user friendly Word Cloud API in Java. Draw Rectangle, Circle or Image Overlay word clouds.Please feel free to jump in and help improve Kumo! There are many places for performance optimization in Kumo! Kumo directly generates an image file without the need to create an applet as many other libraries do. Image Overlay will draw words over all non-transparent pixels. Just provide a Start Angle, End Angle, and number of slices. Two Modes that of Collision and Padding: PIXEL_PERFECT and RECTANGLE.Fully customizable BackGrounds coming soon. Frequency Analyzer to tokenize, filter and compute word counts.īrew install kumo Available from Maven Centralįinal FrequencyAnalyzer frequencyAnalyzer = new FrequencyAnalyzer() įrequencyAnalyzer.WhiteSpace and Chinese Word Tokenizer.Draw two opposing word clouds in one image to easily compare/contrast date sets. setWordFrequenciesToReturn( 300) įrequencyAnalyzer. SetStopWords( loadStopWords()) įinal List wordFrequencies = frequencyAnalyzer. load( "text/new_york_positive.txt") įinal List wordFrequencies2 = frequencyAnalyzer. load( "text/new_york_negative.txt") įinal Dimension dimension = new Dimension( 600, 386) įinal LayeredWordCloud layeredWordCloud = new LayeredWordCloud( 2, dimension, CollisionMode. SetFontOptions( 0, new KumoFont( "LICENSE PLATE", FontWeight.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |