Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,152,780 members, 7,817,226 topics. Date: Saturday, 04 May 2024 at 08:24 AM |
Nairaland Forum / Science/Technology / Programming / Got Code Queries? Let's Crack Them Together! �� (104 Views)
My First Html/css Project After Learning Responsiveness(media Queries) / Database Normalization And Complex Queries Tutorial / Multiple Queries (2) (3) (4)
(1) (Reply)
Got Code Queries? Let's Crack Them Together! �� by logodesignshub: 6:19am On Apr 24 |
Hey there fellow coders! Got burning questions about programming languages keeping you up at night? Don't fret! Drop your queries here, and let's unravel them as a community. Whether it's puzzling syntax, perplexing algorithms, or confounding errors, no challenge is too big when we tackle it together. Plus, while we're at it, let's exchange tips on affordable web design hacks to make our projects shine without breaking the bank! So what are you waiting for? Fire away those questions and let's dive into some collaborative coding adventures! 🚀🔍 #CodeQueries #AffordableDesignTips |
Re: Got Code Queries? Let's Crack Them Together! �� by rowrowland: 3:33pm On Apr 28 |
Hello, Can you help with some coding assignments on Search with Parallelism using Python? I want to design a frequency-counting program with parallelism programming. I have 2 text files: one is the file with long texts (some of the texts below): THE DARK LORD ASCENDING The two men appeared out of nowhere, a few yards apart in the narrow, moonlit lane. For a second they stood quite still, wands directed at each other’s chests; then, recognizing each other, they stowed their wands beneath their cloaks and started walking briskly in the same direction. “News?” asked the taller of the two. “The best,” replied Severus Snape. The lane was bordered on the left by wild, low- growing brambles, on the right by a high, neatly manicured hedge. The men’s long cloaks flapped around their ankles as they marched. “Thought I might be late,” said Yaxley, his blunt features sliding in and out of sight as the branches of overhanging trees broke the moonlight. “It was a little trickier than I expected. But I hope he will be satisfied. You sound confident that your reception will be good?” Page | 2 Harry Potter and the Deathly Hallows - J.K. Rowling And the other is a file including a set of names(listed below): Harry Ron Hermione Hagrid Dumbledore Draco McGonagall Snape Gilderoy Ginny Malfoy Vernon Arthur Molly Sirius Remus Peter Neville Fred George Moody Cho Voldemort Bellatrix Luna I want to count the frequency of each name in the text. For example, the result is like “Harry” 102, “Ron” 54 or so on. The result should be saved in a new file. The program must be a parallelised program. All compound words including these names should be counted too. For example, the word like “Harry’s talk …” should be counted even if “Harry” is not an independent word. Any idea? I'm having troubles attaching the files so I just copied out some of the contents. Thanks. 1 Like |
(1) (Reply)
Why Can't I Accces Facebook / How To Use Multiple Cameras For A CGI Project / ..
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9 |