We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
files/test.txt:
test1 test1 test1 test2 test2 test2
my function:
final FrequencyAnalyzer frequencyAnalyzer = new FrequencyAnalyzer(); frequencyAnalyzer.setWordFrequenciesToReturn(600); frequencyAnalyzer.setMinWordLength(5); final List<WordFrequency> wordFrequencies = frequencyAnalyzer.load("./files/test.txt"); final Dimension dimension = new Dimension(1024, 1024); final WordCloud wordCloud = new WordCloud(dimension, CollisionMode.PIXEL_PERFECT); wordCloud.setPadding(1); wordCloud.setBackgroundColor(Color.WHITE); wordCloud.setBackground(new PixelBoundaryBackground("./files/bg.png")); wordCloud.setColorPalette(new ColorPalette(new Color(0x4055F1), new Color(0x408DF1), new Color(0x40AAF1), new Color(0x40C5F1), new Color(0x40D3F1), new Color(0x000000))); wordCloud.setFontScalar(new SqrtFontScalar(10, 50)); wordCloud.build(wordFrequencies); wordCloud.writeToFile("./files/out.png");
files/out.png: console output:
[main] INFO com.kennycason.kumo.WordCloud - placed: test2 (1/2) [main] INFO com.kennycason.kumo.WordCloud - placed: test1 (2/2) [main] INFO com.kennycason.kumo.WordCloud - Saving WordCloud to: ./files/out.png
The text was updated successfully, but these errors were encountered:
wordCloud.getSkipped() is returning []
Sorry, something went wrong.
Hi uqlel! I like your method of using test cases to improve the performance of the code and function
No branches or pull requests
files/test.txt:
my function:
files/out.png:
console output:
The text was updated successfully, but these errors were encountered: