Find Jobs
Hire Freelancers

Word Counter

$10-30 USD

กำลังดำเนินการ
โพสต์ ประมาณ 6 ปีที่ผ่านมา

$10-30 USD

ชำระเงินเมื่อส่งงาน
Given the text file: [login to view URL] attached, Provide a dictionary that provides the word count for the words of the text of the famous FDR speech. The count should be case insensitive and special characters such as double quotes and commas should be removed so that "day,", "day" and "Day" count towards the same word. [login to view URL] the document [login to view URL] the document Source: Franklin D. Roosevelt, Inaugural Address, March 4, 1933, as published in Samuel Rosenman, ed., The Public Papers of Franklin D. Roosevelt, Volume Two: The Year of Crisis, 1933 (New York: Random House, 1938), 11–16. /* Add Authors here for grading */ import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; public class WordCounter { public Hashtable count_words(String contents){ Hashtable count = new Hashtable(); // Do work here return count; } public LinkedList top20(Hashtable count) { // TODO: Return top 20 words on the songs, // cleaned up removing special characters ",' and in lowercase // For example "A should be converted to a // (singular and plural are ok to have as duplicates) // Return value can be an array or LinkedList // Each element of the array can be a Hashtable with only one element sorted where the highest element is at the top // For example: [{the=20}, {a=10}, {boy=10}, {news=5}.....] // Deadline Aug 17 before the class email to jcrogel@[login to view URL] return new LinkedList(); } public static void main(String args[]){ try{ String contents = ""; Scanner in = new Scanner(new FileReader("src/[login to view URL]")); while([login to view URL]()) { contents += [login to view URL]() + "\n"; } WordCounter wc = new WordCounter(); Hashtable count = wc.count_words(contents); [login to view URL](count); LinkedList top20 = [login to view URL](count); for (Object item: top20) { [login to view URL](item); } } catch (Exception e){ [login to view URL]("Error " + [login to view URL]()); } } }
รหัสโปรเจกต์: 16502558

เกี่ยวกับโปรเจกต์

1 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 6 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
1 freelancer is bidding on average $30 USD for this job
รูปอวาตาร์ของผู้ใช้
I am here freelancer first to discuss the details of Word Counter then i can sure about my price and the deadline. My way of working is not only to complete but also to provide enough understanding to the project owner. So this will be base of our long term relationships.
$30 USD ใน 1 วัน
4.9 (49 รีวิว)
5.7
5.7

เกี่ยวกับลูกค้า

ปักธงของ UNITED STATES
Los Angeles, United States
5.0
9
ยืนยันวิธีการชำระเงินแล้ว
เป็นสมาชิกตั้งแต่ มี.ค. 16, 2018

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง