日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CS101 編程代寫、代做 java程序語言

時間:2024-03-16  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Assignment 04: Text Analysis
CS101 - Intro To Computer Science Fall 2023
In this assignment, you will implement a text analysis tool that counts the number of verbal ticks. In contrast to previous assignments, you must implement certain tasks using different methods.
Prerequisites:
• Methods • Arrays
The files for this assignment are in a zip file called 04_text_analysis.zip. There are four groups of files in the folder
• TextAnalysis.java: the base implementation of the assignment - includes comments with the functions you need to implement.
• TextAnalysisTest.java: unit tests - make sure you pass these unit tests before submitting the assignment.
• .jar files in the lib folder: libraries to enable the use of the unit tests.
• trump_speech_010621.txt: An example text file to run your main function on.
1. Project Setup
The zip file contains a folder called 04_text_analysis, which in turn contains a VS Code project. Extract the folder from the zip file and open it with VS Code to begin imple- menting and running your assignment. The folder contains the skeleton code for your sub- mission, as well as further instructions on the various methods you need to implement, in src/edu/nyu/assignment4/TextAnalysis.java.
Note that this skeleton code already contains a Scanner called scanner. Use this one in all the methods.
1

2. Text Analysis
The program must be able to open any text file specified by the user and analyze the frequency of verbal tics in the text. Since there are many different kinds of verbal tics (such as "like", "uh", "um", etc) the program must ask the user what tics to look for. A user can enter multiple tics, separated by commas. Any spaces entered by the user before or after each tic must be
ignored. You can assume that all tics are single words.
We will do this task by implementing a variety of small methods to accomplish this larger task. Every method you need to implement is described in TextAnalysis.java. The @param and @return statements in the comments indicate what the expected parameters and return type should be. If you correctly implement these methods your code should "pass" the unit tests in src/edu/nyu/assignment4/tests/TextAnalysisTest.java.
A description of how to check if your code passes unit tests is later in the document.
After the program is fully implemented, it should allow the user to submit a text file and a sequence of tics separated by commas and it should return the following statistics:
• the total number of tics found in the text
• the density of tics (proportion of all words in the text that are tics)
• the frequency of each of the verbal tics
• the percentage that each tic represents out of all the total number of tics
This example shows suggested input/output of such a program, using a file trump_speech_010621.txt that is contained in the assignment zip file.
What file would you like to open? trump_speech_010621.txt
What words would you like to look for? uh,like, um,so
............................... Analyzing
Total number of tics: 31 Density of tics: 0.01
text .................................
...............................Tic breakdown..................................
uh / 0 like / 17 um / 0 so / 14
/ 0% of all tics / 55% of all tics / 0% of all tics / 45% of all tics
Page 2

3. Unit Tests
This assignment includes unit tests to make sure that your code conforms to our expected set of methods. Unit tests are used for a variety of reasons, but two key reasons are what we are doing here, to define how code should be invoked, and also to make sure that code continues to perform consistently over time.
The unit tests will only build and run AFTER you have defined the various methods required for this assignment. Unit tests can be run by following the instructions in Figure 1. Note that these unit tests are VERY similar to how your assignments are graded - the autograder we use is implemented by running similar unit tests and giving marks if you pass them.
Figure 1: The red square indicates the Test tab and the green square indicates how to run or debug the tests. If you highlight the individual you should see play/debug buttons appear next to them. If you press those buttons you will run just a single unit test.
4. Debugging Your Code
Debugging is an important part of coding. In this assignment, each function has some corner cases, make sure you understand what’s going on and fix your code. You can simply click the button with the bug symbol to debug the code. Remember to set a checkpoint before you run your code!
Here is a summary of a few things you need to care about. For the corner cases. Please read the comments carefully to find more details.
• Always check if the input is null if it is possible. Do not trust users.
• Users’ input could contain repeated tokens, ignore the repeated ones.
• Users’ input could have no token, let them try again until you get valid input.
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

掃一掃在手機打開當前頁
  • 上一篇:代寫CSEN 331、代做 C++程序語言
  • 下一篇:菲律賓工作簽證辦理流程(9G工簽辦理的材料解答)
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        欧美精品一区二区三区蜜桃| 在线色欧美三级视频| 狠狠久久五月精品中文字幕| 宅男噜噜噜66一区二区| 亚洲国产日韩欧美一区二区三区| 另类春色校园亚洲| 国产欧美日韩视频一区二区| 国产一区二区三区高清在线观看| 国产视频一区二区三区在线观看| 亚洲国产另类 国产精品国产免费| 午夜视频一区| 免费久久99精品国产自在现线| 欧美 日韩 国产 一区| 99re在线精品| 宅男66日本亚洲欧美视频| 欧美日本亚洲视频| 亚洲老板91色精品久久| 久久久91精品国产| 欧美精品不卡| 一区二区在线视频观看| 久久视频这里只有精品| 欧美高清在线视频观看不卡| 欧美日韩国产成人在线观看| 久久国产精品久久国产精品| 一区二区在线不卡| 欧美激情一区二区三区| 夜夜嗨av一区二区三区中文字幕| 欧美日韩精品一本二本三本| 91久久久久久久久久久久久| 国产精品久久久久久久久久久久| 久久亚洲影音av资源网| 欧美巨乳在线观看| 欧美日韩美女在线观看| 亚洲精品网站在线播放gif| 国产精品久久久久久久午夜片| 久久精品国产99精品国产亚洲性色| 国产亚洲一本大道中文在线| 欧美日韩久久| 米奇777在线欧美播放| 欧美精品久久久久a| 亚洲香蕉视频| 国产视频久久网| 国产亚洲欧美日韩一区二区| 国产精品一级久久久| 欧美伊人久久久久久久久影院| 亚洲国产婷婷香蕉久久久久久99| 欧美高清你懂得| 国产一级一区二区| 久久手机免费观看| 精品动漫一区二区| 亚洲电影有码| 亚洲一区三区视频在线观看| 看片网站欧美日韩| 久久久久国产成人精品亚洲午夜| 国产在线视频欧美| 亚洲日本欧美日韩高观看| 亚洲第一精品在线| 午夜一区二区三视频在线观看| 亚洲高清在线| 99亚洲伊人久久精品影院红桃| 极品日韩av| 激情综合视频| 国产日韩一级二级三级| 在线观看亚洲精品| 久久综合伊人| 在线观看亚洲一区| 国产网站欧美日韩免费精品在线观看| 黄色在线成人| 午夜在线视频一区二区区别| 91久久精品国产91性色tv| 欧美精品在线免费观看| 久久人人精品| 最新69国产成人精品视频免费| 欧美日韩福利视频| 国产精品高清一区二区三区| 亚洲欧美日韩一区二区三区在线观看| 亚洲国产黄色| 久久精品亚洲乱码伦伦中文| 欧美日韩国产天堂| 小处雏高清一区二区三区| 亚洲女与黑人做爰| 国产欧美三级| 午夜视频一区二区| 在线亚洲高清视频| 欧美一区1区三区3区公司| 国产一区二区高清不卡| 国产一区二区三区的电影| 欧美精品综合| 一本色道久久综合亚洲91| 亚洲一二三区在线观看| 亚洲第一黄色| 欧美国产精品专区| 国产偷自视频区视频一区二区| 国产精品视频免费一区| 黄色欧美日韩| 蜜桃久久av| 亚洲一区二区三区久久| 国产精品日韩在线| 欧美一区日本一区韩国一区| 国产精品一二一区| 久久最新视频| 国产视频精品网| 黑人一区二区三区四区五区| 欧美大片一区| 久久精品视频一| 在线成人小视频| 亚洲欧美在线磁力| 一区二区三区三区在线| 久久综合国产精品| 亚洲国产成人久久综合| 国产欧美日韩综合精品二区| 亚洲国产精品一区二区三区| 亚洲最新视频在线播放| 欧美国产视频在线观看| 亚洲人午夜精品免费| 亚洲欧美成aⅴ人在线观看| 欧美亚洲一区二区在线观看| 99热这里只有成人精品国产| 怡红院精品视频| 91久久嫩草影院一区二区| 一区二区激情| 亚洲欧美日韩精品久久久久| 欧美电影免费网站| 亚洲综合电影一区二区三区| 欧美黑人多人双交| 欧美日韩妖精视频| 久久久久国色av免费观看性色| 国产日韩av在线播放| 国产精品成人v| 国产精品欧美久久久久无广告| 欧美在线综合| 欧美资源在线观看| 亚洲天堂网在线观看| 亚洲欧美日韩精品久久久| 美女日韩在线中文字幕| 国内外成人在线视频| 欧美伊人精品成人久久综合97| 欧美性生交xxxxx久久久| 久久久成人精品| 国产综合久久久久久| 欧美视频中文一区二区三区在线观看| 欧美日韩精品在线| 国产日韩在线一区二区三区| 欧美一区二区播放| 亚洲欧美视频一区二区三区| 欧美日韩999| 欧美日韩在线播放三区四区| 欧美黄色视屏| 欧美激情欧美狂野欧美精品| 亚洲激情成人| 国产精品国产亚洲精品看不卡15| 欧美在线一二三| 亚洲自拍啪啪| 在线综合亚洲欧美在线视频| 久久久久国色av免费观看性色| 午夜精品久久久久久久男人的天堂| 欧美一区二区三区视频免费| 亚洲一区二区高清视频| 亚洲自拍啪啪| 日韩视频在线观看一区二区| 欧美丝袜一区二区三区| 国产精品久久久一区麻豆最新章节| 开元免费观看欧美电视剧网站| 亚洲摸下面视频|