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

Improvment ? #6

Open
ragekit opened this issue Jul 25, 2016 · 1 comment
Open

Improvment ? #6

ragekit opened this issue Jul 25, 2016 · 1 comment

Comments

@ragekit
Copy link

ragekit commented Jul 25, 2016

This is a very cool idea but I'm wondering on how you're implementing your markovesque algo

If i understood correctly each word has a dictionary of next word and each next word another dictionary and thats it because you don't want nesting too much to not blow up too much memory.

But with instead of storing, in the dictionary, the word, you're storing a reference to it ? First you create an object for all words and then you start over and process each word adding in their "next word dictionary" only a ref to the "word object" that was created. You could have very long recursion with it being very lightweight.

I don't know if I make sense ?

@jbrew
Copy link
Owner

jbrew commented Jul 25, 2016

Hey, thanks for reaching out.

Check out a more recent version of the program, here:
https://github.com/jbrew/voicebox

It doesn't use any nesting, which I agree is confusing in the old version.
Instead, the top level has a dictionary of ngrams of all sizes.

I've been meaning to write a readme for it but haven't had the time.

On Sun, Jul 24, 2016 at 11:30 PM, Ragekit [email protected] wrote:

This is a very cool idea but I'm wondering on how you're implementing your
markovesque algo

If i understood correctly each word has a dictionary of next word and each
next word another dictionary and thats it because you don't want nesting
too much to not blow up too much memory.

But with instead of storing, in the dictionary, the word, you're storing a
reference to it ? First you create an object for all words and then you
start over and process each word adding in their "next word dictionary"
only a ref to the "word object" that was created. You could have very long
recursion with it being very lightweight.

I don't know if I make sense ?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#6, or mute the thread
https://github.com/notifications/unsubscribe-auth/APtUnqvs_7O5mPAsLIAAWl174YYrIJs-ks5qZDvigaJpZM4JTx8F
.

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