What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » Request: word list(s)

Request: word list(s)
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. Request: word list(s)
Hi folks,

I know that there are plenty of word lists on the internet, but I'd like to see your fantasy :)
What I'd like to ask you is: think of as many words as you can, no matter what language, put 'em in a text file and upload the list.
One small point about the language thingy: please give the text file the name of the language's ISO 639-1 code, that is "en.txt" for English, "nl.txt" for Dutch etc.
You can find the ISO codes here in the first column.

Thanks in advance :)

This post was edited on 07-06-2009 at 02:40 PM by SmokingCookie.
07-06-2009 02:37 PM
Profile PM Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: Request: word list(s)
Just scrape Urban Dictionary for things you won't find on normal lists.
Finish the problem
Menthix.net | Contact Me
07-06-2009 02:44 PM
Profile E-Mail PM Web Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: Request: word list(s)
I've got plenty of English words already, but I'm also looking for words in other languages..

Nice list though ;)
07-06-2009 02:47 PM
Profile PM Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
38 / Male / Flag
Joined: Mar 2006
RE: Request: word list(s)
What is the purpose of this list?

There are over 1,000,000 words in the English language (and that's not including slang & depreciated words)

Might help to know what its purpose was :P
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5403 days, 1 hour, 22 minutes, 7 seconds ago
07-06-2009 02:50 PM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: RE: Request: word list(s)
quote:
Originally posted by djdannyp
What is the purpose of this list?

There are over 1,000,000 words in the English language (and that's not including slang & depreciated words)

Might help to know what its purpose was :P

Just a little project :P

[Image: attachment.php?pid=968599]

.jpg File Attachment: Anagramsolver.jpg (24.58 KB)
This file has been downloaded 329 time(s).

This post was edited on 07-06-2009 at 02:53 PM by SmokingCookie.
07-06-2009 02:52 PM
Profile PM Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
38 / Male / Flag
Joined: Mar 2006
RE: Request: word list(s)
Fair enough.....but FYI:

a) anagramised isn't a word
b) an anagram has to make sense, not just be the letters rearranged into a nonsense word, eg: orchestra = carthorse
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5403 days, 1 hour, 22 minutes, 7 seconds ago
07-07-2009 06:11 AM
Profile E-Mail PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
RE: Request: word list(s)
there is a difference between jumbling and anagraming
the other day i wrote some python to solve the 9 letter word from the target in the SMH
you can also use a similar principle to find real anagrams

Python code:
from __future__ import with_statement
def ret_words(letter,words):
    return [item for item in words if letter in item]
ana=raw_input("jumble: ")
with open("words-english.dic",'r') as dic:
    x = set([item for item in [line.strip("\r\n") for line in dic.readlines()] if len(item)==len(ana)])#this only targets words of the right length
a = list(ana)
while a:#this targets words containing the same characters
    x = ret_words(a.pop(),x)
a=sorted(ana)
for item in x:#this matches letter patterns to check if it is in fact an anagram
    if a == sorted(list(item)):
        print item
####################that was the conceptual python
 
##this is the engineered python
i=raw_input('j: ')
#now the line above and either of the following lines
for item in filter((lambda x: sorted(x) == sorted(i)),[ line.strip("\r\n") for line in open("words-english.dic","r").readlines() if len(line.strip('\r\n'))==len(i)]):print item
#the other solution
for item in [item for item in[line.strip("\r\n") for line in open("words-english.dic","r").readlines() if len(line.strip('\r\n'))==len(i)] if sorted(item)==sorted(i)]:print item


using those filtering principles you should be able to write something to produce anagrams, but if you are trying to jumble words, you could use the code I wrote to generate test cases for my code above
Python code:
import random
def shuffled(x):
    random.shuffle(x)
    return x
print "".join(shuffled(list(raw_input("String to jumble: "))))


[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














07-07-2009 06:32 AM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: RE: Request: word list(s)
quote:
Originally posted by djdannyp
Fair enough.....but FYI:

a) anagramised isn't a word
b) an anagram has to make sense, not just be the letters rearranged into a nonsense word, eg: orchestra = carthorse

b) I know, I'm still working on the algorithm ;)
a) I'll change it ;)
07-07-2009 08:21 AM
Profile PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
RE: Request: word list(s)
quote:
Originally posted by SmokingCookie
I'm still working on the algorithm ;)
my code is just what you need if you are looking at one word anagrams
it will not do longer ones with spaces and if your writing it in Jscript you might need to translate it. for example

<in> listen
<out>>enlist
<out>>listen
<out>>silent
<out>>tinsel

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














07-07-2009 08:38 AM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: Request: word list(s)
The "if" part of your first sentence is the problem. I'm trying to have it solve multi-word anagrams
07-07-2009 08:41 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On