Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Word unscrambler
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: Wed Feb 03, 2010 7:47 pm   Post subject: Word unscrambler

Hey everyone, I'm tired of unscrambling words... REALLY TIRED so I am makin a program I can take anywhere with me. But to do this I will need a library of every word possible lol. It would be Aawsome if people could type in every word they can think of while there bored and upload it here. So when I am done making the word unscrambler program the library will be sufficent enough to unscramble any common word.

I have all ready started, but I need others help. Thanks
Copthesaint.

To use, just type in the words. If you miss spell a word, just retype it the same incorect way to view options then delete it.



wordList.zip
 Description:

Download
 Filename:  wordList.zip
 Filesize:  371.97 KB
 Downloaded:  266 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
y4y




PostPosted: Wed Feb 03, 2010 8:26 pm   Post subject: Re: Word unscrambler

edit: ok i just realized that your main program is probably not coded in turing...... so don't mind any thing i said
copthesaint




PostPosted: Wed Feb 03, 2010 10:03 pm   Post subject: RE:Word unscrambler

Yea, I am making my first ver in java. this will be text based until I finish the first working ver, then after I will add a UI and have it fully functioning, this was the easiest, but the the most important program to make. It does a very simple task that if perfect for turing's cababilites. It would have taken 5 times longer to make this program with java lol, that does the same thing. 100 lines of code for this program vs about 300 - 500 lines in java at least.
DtY




PostPosted: Wed Feb 03, 2010 10:11 pm   Post subject: RE:Word unscrambler

http://java.sun.com/docs/books/tutorial/collections/interfaces/examples/dictionary.txt

I don't think there are any common words missing. I grep it when I do cryptograms.
DemonWasp




PostPosted: Thu Feb 04, 2010 1:21 am   Post subject: RE:Word unscrambler

I'm not sure what you're talking about, copthesaint. I have just such a word descrambler written in Java in 85 SLOC (Source Lines of Code). Works great. Uses the British English dictionary that ships with Ubuntu.

It may help you to realise that if two words are equivalent under scrambling, they will have the same number of each type of character.

Edit: Those 85 SLOC include blank lines and several comments.
copthesaint




PostPosted: Thu Feb 04, 2010 10:50 am   Post subject: RE:Word unscrambler

First of all I have to say Thanks DtY

2nd Demon, I highly doubt you have one with graphics and you dont know what I have in mind for this lol. Good for you you mading a simular program though, but I want to do this project and I dont care If you have made this already. If your tring to help, thanks, but I can do this on my own.
ProgrammingFun




PostPosted: Thu Feb 04, 2010 6:39 pm   Post subject: RE:Word unscrambler

You could go to www.m-w.com and look up a word list of all of the words they have.

OR you could also get a dictionary program and extract its word file.

Can't wait to see the final product! Very Happy
andrew.




PostPosted: Thu Feb 04, 2010 7:57 pm   Post subject: Re: RE:Word unscrambler

copthesaint @ Thu Feb 04, 2010 10:50 am wrote:
2nd Demon, I highly doubt you have one with graphics and you dont know what I have in mind for this lol. Good for you you mading a simular program though, but I want to do this project and I dont care If you have made this already. If your tring to help, thanks, but I can do this on my own.
1. You said that it would take a lot of code in Java, but DemonWasp was just saying that it wouldn't.
2. He never said he made it. He said he had one written in Java.
3. Graphics for a program of this scale doesn't take much code if you know what you're doing (it should take 100 lines MAX).

You don't have to be so rude to DemonWasp, he was just trying to give you some feedback on your problem.
Sponsor
Sponsor
Sponsor
sponsor
DemonWasp




PostPosted: Thu Feb 04, 2010 8:43 pm   Post subject: RE:Word unscrambler

@copthesaint:

Changing to a graphical interface would probably only require another ~15 lines, bringing the total to around 100. That's about your estimate for Turing. I was pointing out that Java won't take 500 lines to accomplish something that can be done in Turing in 100 lines (in general, the same program done in Java should be shorter than in Turing as you don't have to write all of the library classes over again).

I wasn't trying to dissuade you from making your own program. In fact, I was very specifically not giving code because I figured you planned to do that yourself. I only wrote the code because I wanted to be able to back up my assertion that Java wouldn't need "300-500 lines at least" for this kind of program.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: