Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What word would you like to start the generation? #1

Closed
candeladd opened this issue Apr 30, 2015 · 2 comments
Closed

What word would you like to start the generation? #1

candeladd opened this issue Apr 30, 2015 · 2 comments
Assignees

Comments

@candeladd
Copy link

Hello,
So I was running your program and I noticed that once the user chooses a sample file to generate the new story from the are prompted with the question: What word would you like to start the generation?
But how is the user supposed to know any of the words in the sample file with oug going into the directory and opening one of the sample files. I did this and it seems that the program runs fine from here, but I could not understand how else I could have run the program.

I think you guys did a great job on this program overall, it is very interesting how it generates the graph.

@ParkerBeck
Copy link
Owner

Thank you for the input, maybe I can add it so the program will display the three most common words before text generation so the user knows some potential available options. For testing we always just used 'a' and 'the' since it's nearly guaranteed to be in the text file.

@ParkerBeck ParkerBeck self-assigned this May 1, 2015
@ParkerBeck
Copy link
Owner

I fixed this problem in commit 39705ad. Now the user is prompted to enter in a '?' if they want to see the most common words in the file. The number of words printed can be changed based on the input to the printMostCommon(x) function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants