Questions
Identify and explain in detail at least three techniques to improve mobile marketing capabilities. Which technique...

Identify and explain in detail at least three techniques to improve mobile marketing capabilities. Which technique do you believe to be the most impactful and why?

Write a 350 word detailed paper on this topic and cite your sources.

In: Operations Management

Answer the following question in your own words. Your answer must have a 150 minimum word...

Answer the following question in your own words. Your answer must have a 150 minimum word count:

  • Explain the difference between fixed costs and variable costs. Describe their significance and give examples of each one.

In: Finance

discuss the practical steps for developing a technology roadmap. (please NO PLAGIRISM and if possible please...

discuss the practical steps for developing a technology roadmap. (please NO PLAGIRISM and if possible please paste the journal link. word limit 300 - 350 ) and the course is ORGANIZATION LEADERSHIP AND DECISION MAKING so write in means of it. THANK YOU

In: Operations Management

Lesson 8 Explain why the word "average" should not be used to describe measures of center....

Lesson 8

  • Explain why the word "average" should not be used to describe measures of center.
  • Explain the advantages and disadvantages of the mean.
  • Explain the procedure for finding the standard deviation.
  • Explain why the range is not usually the best measure of variation.

In: Advanced Math

Q5: Which type of pile foundation in adopted for the below conditions: a. the Depth should...


Q5: Which type of pile foundation in adopted for the below conditions:

a. the Depth should be 3 to 5 m

b. Should be clayey soil

Also Describe about that type with neat sketch   

Write by microsoft word ( text )

In: Civil Engineering

Please, i need Unique answer, Use your own words (don't copy and paste). Please, don't use...

Please, i need Unique answer, Use your own words (don't copy and paste). Please, don't use handwriting, Use your keyboard.

  

Q3. Choose two accounting assumptions and explain in your word.   

In: Finance

1.Create a resume using Word as described in the Career Development Workbook. Remember to add in...

1.Create a resume using Word as described in the Career Development Workbook. Remember to add in your current program( Supply Chain Management) and course descriptions( Career Development) to ensure your resume is reflective of your program.

In: Operations Management

Write a 175- to 265-word response to the following: 1.What are some current trends in health...

Write a 175- to 265-word response to the following:

1.What are some current trends in health care impacting organizational change? Provide specific examples.

2.What do you see happening with these trends in the future?

In: Operations Management

hello I need a good report with 6-7 pages about (Requirement of designing and maintenance open...

hello

I need a good report with 6-7 pages about
(Requirement of designing and maintenance open drains)

its better for me if its not handwritting cause i need it online on word ..

anyway thanks ❤️

In: Civil Engineering

Java program In this assignment you are required to create a text parser in Java/C++. Given...

Java program

In this assignment you are required to create a text parser in Java/C++. Given a input text file you need to parse it and answer a set of frequency related questions.

Technical Requirement of Solution:

You are required to do this ab initio (bare-bones from scratch). This means, your solution cannot use any library methods in Java except the ones listed below (or equivalent library functions in C++).

  • String.split() and other String operations can be used wherever required.
  • You can use any Regular Expression related facilities (java.util.regex) to match target words and phrases.
  • You are also allowed to use different variants of array and list based built-in data structures such as Array, List, ArrayList, Vector.
  • Standard file IO facilities for reading/writing, such as BufferedReader.

Create as many files, intermediate array-based data structures as you wish, and allocate as much heap memory from JVM as you need. BUT you are allowed to read the input file EXACTLY ONCE to answer ALL the questions. You however can use any internal array based representation of the whole file to do multiple rounds of processing if needed after having read it EXACTLY ONCE.

Suggested programming language Java. However considering this is the very first assignment, you can use C/C++ provided similar constructs and rules are followed and no library functions that leverage hash and maps are used.

For the following questions, list all matching output if there are ties

  1. List the most frequent word(s) in the whole file and its frequency.
  2. List the 3rd most frequent word(s) in the whole file and its frequency.
  3. List the word(s) with the highest frequency in a sentence across all sentences in the whole file, also print its frequency and the corresponding sentence.
  4. List sentence(s) with the maximum no. of occurrences of the word "the" in the entire file and also list the corresponding frequency.
  5. List sentence(s) with the maximum no. of occurrences of the word "of" in the entire file and also list the corresponding frequency.
  6. List sentence(s) with the maximum no. of occurrences of the word "was" in the entire file and also list the corresponding frequency.
  7. List sentence(s) with the maximum no. of occurrences of the phrase "but the" in the entire file and also list the corresponding frequency.
  8. List sentence(s) with the maximum no. of occurrences of the phrase "it was" in the entire file and also list the corresponding frequency.
  9. List sentence(s) with the maximum no. of occurrences of the phrase "in my" in the entire file and also list the corresponding frequency.

Implementation Detail:

Inputs

The program has two arguments:

  • The first argument: path to the input text file.
  • The second argument: name prefix for the output files

For example:

$ java HW1  "./input.txt" "output"

input file: A text document. Assume each newline (\n) defines a paragraph. Each period (.) defines end of an sentence. Or if a sentence is the last in a paragraph and doesn’t have an explicit period (.), its end marker is the same as a newline. Each space within a sentence (character ‘32’) define the word delimiter. The assignment is case insensitive so you must transform and work in lower case.

Outputs: Click here to download sample input and answer files. As grading is automated, your output must conform to the following specifications. For each of the 9 questions you must create one single output file. So your program should produce 9 output files each time you run it. If a question has multiple output (multiple sentences/words/…) you should print each sentence in a new line. Do not print them on the same line! The order of the sentences/words/phrases is not important. However, the order of the output file name must be matching the order of the questions. For example, given prefix “output”, the output file of the first question should be output1.txt and for the second question it is output2.txt. The output format depends on the question type and it must be:

  • For question 1 and 2:
    word:frequency e.g.
    the:10

  • For question 3:
    word:frequency:sentence e.g.
    the:9:you see watson he explained in the early hours of the morning...

  • For question 4-9:
    word:frequency:sentence e.g.
    was:2:then it was withdrawn as suddenly as it appeared...
    was:2:the 4 a week was a lure which must draw him and...

Other details

  • For Word related questions, Words are defined as whole word separated by a space. So “there” does not count towards the frequence of “the”. Whereas for phrases you are required to consider substrings as well, for example “within my” will also count towards the frequence of “in my”
  • When printing the sentences, don’t print out the period (.) at the end
  • When there is a tie, print all words/sentences with the maximum frequency

In: Computer Science