Question
Write a class that allows: to generate a set of files (number given in constructor) in a given directory (path given in constructor) each file
Write a class that allows:
to generate a set of files (number given in constructor) in a given directory (path given in constructor) each file should include names (first and second name) generated randomly based on list of first names and second names (provided in two text files) each person (name) should have two random values assigned to it (age, selery) Write a second class, that process generated data (one parameter in constructor - path) and methods that generate csv file with name of oldest person in each file and in all files average seleary in each file and among all files 2. NumericDataGenerator Write a class that allows to check if a number is a prime number Write the second class that geneartes a csv file that includes numbers (with at least 10 digits) Write the third class that uses first class to check the context of the file from the second class and generates a csv file that inlcudes only prime numbers
3. Statistics
Use corpora from: https://clarin-pl.eu/dspace/handle/11321/312
Write a class that allows to generate a csv with frequencies of each word in the whole cropora and in each document.
Back
Step by Step Solution
3.25 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
1FileGenerator Class import javaioBufferedWriter import javaioFileWriter import javaioIOException im...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started