CS102B Project (Part Two), Spring 2019
Description
The goal of this project is to calculate statistic characteristics of words in a
Chinese text, plot statistic word-nature info in histograms or/and pie charts,
and design creative color and animation visualization to the high frequency
words in a given dynamic representation program.
The course project consists of four tasks in two parts.
Task 1(Part I). Preparation -- Preprocessing and Tokenization (20%)
Task 2(Part I). Word-nature Counting with Histogram or Pie-Chart (40+%)
Task 3(Part I). Word Frequency Count with sorting (20%)
Task 4(Part II). Color & Animation Design for Dynamic Presentation (20+%)
The fourth task is the part two of the project. You will be asked to design a creative
color selection algorithm and an animation dynamic presentation program for those
high frequency words got from task 3 (say wordsFreq.txt) based on a given
foundation program using StdDraw. The detailed requirement of Task 4 and the
foundation program will be delivered with part two assignment notes of the project
in the near week.
Requirement for Task 4 (Part II)
1) Your team are asked to visualize the result from Task 3 (Part I) by drawing a
words cloud with StdDraw based on the given programs in code4Project.zip
with good readability, homonymous and aesthetic impression dynamically.
2) You should design your words cloud drawing style, including (but not limited to)
the size and background color of the canvas, the bounds and background color of
the cloud, the font size, font color and background color series for your words.
The program should read word frequency counting data from Task 3 (Part I) (say
wordsFreq.txt), and dynamically draw the words cloud in StdDraw window.
3) You may use the cloud bounds implemented in CloudBoundsFactory, which
are in circle or rectangle shape. As an optional extra work, you may extend new
bounds shape by adding CloudsBoundsSetter generating method(s) in
CloudBoundsFactory.
Appendix 3: API Doc for Words Cloud Drawing with StdDraw
code4Project.zip, TestClouds-Result.zip
+ (Extra helping docs to be delivered …)
Be creative and have fun!
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。