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

1 Expert Approved Answer
Step: 1 Unlock

1FileGenerator Class import javaioBufferedWriter import javaioFileWriter import javaioIOException im... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!