asrayousuf / ScrabbleWordRecommender

0 stars 0 forks source link

Group 2 Work Allocation #3

Closed aravindsrivats closed 9 years ago

aravindsrivats commented 9 years ago

Harish, Neel and Mohanish discuss and conclude to which task each of you are going to work on.

theCuriosityEnthusiast commented 9 years ago

Input Format = String of this type "abcde*"

theCuriosityEnthusiast commented 9 years ago

Will the string be already sorted?

harr93 commented 9 years ago

Assume it won't be sorted.

harr93 commented 9 years ago

WE can sort it ourserlves

nsparatkar commented 9 years ago

Dont chat here. Its an issue tracker. And Mohanish, what do you mean by input? Is it the rack?

theCuriosityEnthusiast commented 9 years ago

void function(input); this is input..

aravindsrivats commented 9 years ago

What task each of you are working on?

aravindsrivats commented 9 years ago

How are you handling blank input? Are you going to substitute one character every time and check or assign random character?

theCuriosityEnthusiast commented 9 years ago

Okay I'll tell you.. Lets say the word is "cnt".. then we have _c_nt ( '_' indicates where the letters can be put) so that we can have 'cant' or 'bcnt' etc..

On 24 July 2015 at 12:46, Aravind Srivatsan notifications@github.com wrote:

How are you handling blank input? Are you going to substitute one character every time and check or assign random character?

— Reply to this email directly or view it on GitHub https://github.com/asrayousuf/ScrabbleWordRecommender/issues/3#issuecomment-124382938 .

theCuriosityEnthusiast commented 9 years ago

Then we realize that only [a-c] can go before c; only [d-n] can go before n and after c; and only [o-t] can go before t and after n; and [u-z] goes after t..

On 24 July 2015 at 13:41, Mohanish Golatkar mgmayhem76@gmail.com wrote:

Okay I'll tell you.. Lets say the word is "cnt".. then we have _c_nt ( '_' indicates where the letters can be put) so that we can have 'cant' or 'bcnt' etc..

On 24 July 2015 at 12:46, Aravind Srivatsan notifications@github.com wrote:

How are you handling blank input? Are you going to substitute one character every time and check or assign random character?

— Reply to this email directly or view it on GitHub https://github.com/asrayousuf/ScrabbleWordRecommender/issues/3#issuecomment-124382938 .

theCuriosityEnthusiast commented 9 years ago

So run a for-loop from a to z and put the characters in proper places. If more than one spaces are there do this recursively on the newly formed word..

theCuriosityEnthusiast commented 9 years ago

We are not generating all the words, instead we are generating keys for the hashmap. From there you can retrieve the actual words.

On 24 July 2015 at 13:44, Mohanish Golatkar mgmayhem76@gmail.com wrote:

So run a for-loop from a to z and put the characters in proper places. If more than one spaces are there do this recursively on the newly formed word..

aravindsrivats commented 9 years ago

I need to know who is doing which part of the task

harr93 commented 9 years ago

We were planning to split the work in the following fashion: Mohanish will write the fill_blanks function which, given a string and the number of blank spaces will fill the blanks, Neel will write the score calculating function and I will write the interface function that would call the other functions and return the results. The main problem here is that with the new data structure, all the ideas we had have gone out the window.

aravindsrivats commented 9 years ago

The scoring function happens in the pre-computation part. You have to compute the score to be subtracted from the score due to the blank tiles.

aravindsrivats commented 9 years ago

Raise a new issue for scoring and lets discuss on it.

harr93 commented 9 years ago

Let's close these work allocation issues.