No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: I am using this code to compute some lexical statistics in a text. However, it is not recognizing the end of the sentences (example . ? ! etc) and returns 1 sentence. I think that the command line.count is not working. The counting of the lines in the text is … | |
I am trying to build a histogram. So far I have coded the following: from Tkinter import * def plot(data): numberOfBins = len(data) root = Tk() width, height = 200, 630 #taille de la fenetre die = Canvas(root, width = width, height = height) die.pack() numberOfStripes = 2 * numberOfBins … | |
I am having a hard time identifying numbers in a text. Is there a way to recognize numbers? | |
I am trying to compute some lexical statistics from a given text. For instance, how many lines, sentences, words, how many times a given character is repeated. Can anyone help me with this? |
The End.