No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'll keep the story short here but to sum things up: I have always liked computers. Hardware has always been my thing. I have my own custom built desktop and love changing and messing with it every day. I also work (part time) as an IT guy for small business. … |
|
Hello, I am trying to generate word frequencies using ngrams. I have taken the brown corpus from nltk and changed it for use with ngram calculations by adding <s> and </s> at the beginning and end (in place of period.) I need to try and calculate the frequencies from this … |
|
Just a quick question, why does the first findall print out hello but the second just gives me brackets with nothing in them. I want it to show me everything that matched. Which in this case should be everything. k = "hello there how are you" print re.findall(r'hello',k) print re.findall(r'\w+',k) |
|
Hello, I am trying to create a program that will allow me to find a certain phrase, (always between brackets and always with a "'0" in it) and replace it. Basically I have something like [ k '0 ir e ] and what I need to do is use regular … |
|
Quick synopsis: Program sorts array the user inputs. IE enter 5,6,78,4,2 and it will sort it in order. Through various algorithms. This works great with quick small lists, but for some reason with one large number or longer lists the program will crash. Here are the files if you would … |
|
So I have completed my program thus far to take an array the user desingnates and breaks with any letter. After outputting what the array holds it sorts and re prints. I want to also include the time it takes this to happen. I am trying to use the gettimeofday … |
|
I will try and keep this quick and simple. I want to break a loop I have by entering 'q' or something to that effect. My loop has the user enter numbers until they enter "Q" in theory. I have tried converting int's to char's and then making the loop's … |
|
(I have another thread on the main page here but that was directed towards getting some basic file structure issues worked out) Problem: I need to create a dictionary that has words that are look-up-able, from a text file. I need to have two classes (Word, Meaning), one for the … |
|
1.) I am about to run to class and work for the day so I wanted to get this up before I left. 2.) I am using code blocks on Windows. 3.) I ma having an issue where either my main.cpp cannot find my header file, or if I change … |
|
Hello, new C++ user at University I am trying to find what would be the best way to count and display the even and odd numbers in a sequence. For example, if the user inputted the sequence 2 - 6, then there would be 3 evens and 2 odds, this … |