Skip to content
New issue

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

class not found problem with WordTokenizer #108

Open
palmafr opened this issue Dec 7, 2021 · 0 comments
Open

class not found problem with WordTokenizer #108

palmafr opened this issue Dec 7, 2021 · 0 comments

Comments

@palmafr
Copy link

palmafr commented Dec 7, 2021

Running the following code by importing the v1.28 jar from maven repo shows an error:

final FrequencyAnalyzer frequencyAnalyzer = new FrequencyAnalyzer();
final List wordFrequencies = frequencyAnalyzer.load("text/my_text_file.txt");
final Dimension dimension = new Dimension(600, 600);
final WordCloud wordCloud = new WordCloud(dimension, CollisionMode.RECTANGLE);
wordCloud.setPadding(0);
wordCloud.setBackground(new RectangleBackground(dimension));
wordCloud.setColorPalette(new ColorPalette(Color.RED, Color.GREEN, Color.YELLOW, Color.BLUE));
wordCloud.setFontScalar(new LinearFontScalar(10, 40));
wordCloud.build(wordFrequencies);
wordCloud.writeToFile("kumo-core/output/wordcloud_rectangle.png");

class not found problem with WordTokenizer

Has anyone faced the same problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant