Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Full Dictionary (CSV format)
#1
Old file:  (Not suggested to use)
.txt   english_dictionary.txt (Size: 14.26 MB / Downloads: 27)
New file: (See details in edit below) 
.txt   Dict(CSV).txt (Size: 14.89 MB / Downloads: 24)

The above is a nice resource which I found that I thought I'd share for our various folks who are into word games and such.  

Quote:,word,wtype,meaning
0,a,, The name of the sixth tone in the model major scale (that in C
1,a,," An adjective, commonly called the indefinite article, and signifying one or any, but less emphatically."
2,a,," In each; to or for each; as, ""twenty leagues a day"", ""a hundred pounds a year"", ""a dollar a yard"", etc."
3,a,prep., In; on; at; by.
4,a,prep., In process of; in the act of; into; to; -- used with verbal substantives in -ing which begin with a consonant. This is a shortened form of the preposition an (which was used before the vowel sound
5,a,, Of.
6,a,," A barbarous corruption of have, of he, and sometimes of it and of they."
7,a,," An expletive, void of sense, to fill up the meter"
8,a-,," A, as a prefix to English words, is derived from various sources. (1"
9,a 1,, A registry mark given by underwriters (as at Lloyd's
10,aam,n.," A Dutch and German measure of liquids, varying in different cities, being at Amsterdam about 41 wine gallons, at Antwerp 36 1/2, at Hamburg 38 1/4."

As you can see from the above, this is a WHOLE dictionary and not just a word list.   It's in CSV format (Comma Separated Value), so can be easily read and parsed just by using INPUT if one desires.

Information here is:
###  <-- the number of the defintion
$$$$  <-- the word itself
$$$$  <-- the word type (preposition, noun, adjective, adverb, ect)
$$$$$$$$$$  <-- the word definition

Note that there may be multiple instances for the same word, if it has more than one definition.  (Such as the word "a" above has 7 entries.)

I thought Phil, bplus, or Dav might be interested in this as they're always making and using word games.  Now, they can not only list the word but also the definition of a word for their games, if they want to.  Wink


EDIT AND UPDATE


As mentioned elsewhere in this thread, I decided to go back to the original and redo this work for us.  

Here is what the new file looks like:

Quote:"A ",""," The first letter of the English and of many other alphabets. The capital A of the alphabets of Middle and Western Europe, as also the small letter (a), besides the forms in Italic, black letter, etc., are all descended from the old Latin A, which was borrowed from the Greek Alpha, of the same form; and this was made from the first letter (/) of the Phoenician alphabet, the equivalent of the Hebrew Aleph, and itself from the Egyptian origin. The Aleph was a consonant letter, with a guttural breath sound that was not an element of Greek articulation; and the Greeks took it to represent their vowel Alpha with the a sound, the Phoenician alphabet having no vowel symbols."
"A ",""," The name of the sixth tone in the model major scale (that in C), or the first tone of the minor scale, which is named after it the scale in A minor. The second string of the violin is tuned to the A in the treble staff. -- A sharp (A/) is the name of a musical tone intermediate between A and B. -- A flat (A/) is the name of a tone intermediate between A and G."
"A ",""," An adjective, commonly called the indefinite article, and signifying one or any, but less emphatically."
"A ",""," In each; to or for each; as, ''twenty leagues a day'', ''a hundred pounds a year'', ''a dollar a yard'', etc."
"A ","prep."," In; on; at; by."
"A ","prep."," In process of; in the act of; into; to; -- used with verbal substantives in -ing which begin with a consonant. This is a shortened form of the preposition an (which was used before the vowel sound); as in a hunting, a building, a begging."
"A ",""," Of."
"A ",""," A barbarous corruption of have, of he, and sometimes of it and of they."
"A ",""," An expletive, void of sense, to fill up the meter"
"A- ",""," A, as a prefix to English words, is derived from various sources. (1) It frequently signifies on or in (from an, a forms of AS. on), denoting a state, as in afoot, on foot, abed, amiss, asleep, aground, aloft, away (AS. onweg), and analogically, ablaze, atremble, etc. (2) AS. of off, from, as in adown (AS. ofd/ne off the dun or hill). (3) AS. a- (Goth. us-, ur-, Ger. er-), usually giving an intensive force, and sometimes the sense of away, on, back, as in arise, abide, ago. (4) Old English y- or i- (corrupted from the AS. inseparable particle ge-, cognate with OHG. ga-, gi-, Goth. ga-), which, as a prefix, made no essential addition to the meaning, as in aware. (5) French a (L. ad to), as in abase, achieve. (6) L. a, ab, abs, from, as in avert. (7) Greek insep. prefix / without, or privative, not, as in abyss, atheist; akin to E. un-."

A few quick points of difference:
1) This is ALL quote separated text.  That means it reads really easily with an INPUT statement, without any need for parsing to take place.
2) This is just word-type-definition.
3) Since I've translated this to be all inside quotes for ease of input, if you look close, you'll see where there were old quotes in some of these entries.  Those would screw up INPUT so I replaced them all from " to '' (double ').  When reading these, if you don't like that, just replace them back out to quotes afterwards.  (Note that I have a nice String.Replace which does that job quickly and easily for us...)

And, the new file: 
.txt   Dict(CSV).txt (Size: 14.89 MB / Downloads: 24)
Reply
#2
Given the subject matter of words and their meanings, surely the title should read "Adequate dictionary (CSV format)" Big Grin
Reply
#3
(04-29-2025, 05:41 PM)SMcNeill Wrote: The above is a nice resource which I found that I thought I'd share for our various folks who are into word games and such.  

Quote:,word,wtype,meaning
0,a,, The name of the sixth tone in the model major scale (that in C
1,a,," An adjective, commonly called the indefinite article, and signifying one or any, but less emphatically."
2,a,," In each; to or for each; as, ""twenty leagues a day"", ""a hundred pounds a year"", ""a dollar a yard"", etc."
3,a,prep., In; on; at; by.
4,a,prep., In process of; in the act of; into; to; -- used with verbal substantives in -ing which begin with a consonant. This is a shortened form of the preposition an (which was used before the vowel sound
5,a,, Of.
6,a,," A barbarous corruption of have, of he, and sometimes of it and of they."
7,a,," An expletive, void of sense, to fill up the meter"
8,a-,," A, as a prefix to English words, is derived from various sources. (1"
9,a 1,, A registry mark given by underwriters (as at Lloyd's
10,aam,n.," A Dutch and German measure of liquids, varying in different cities, being at Amsterdam about 41 wine gallons, at Antwerp 36 1/2, at Hamburg 38 1/4."

As you can see from the above, this is a WHOLE dictionary and not just a word list.   It's in CSV format (Comma Separated Value), so can be easily read and parsed just by using INPUT if one desires.

Information here is:
###  <-- the number of the defintion
$$$$  <-- the word itself
$$$$  <-- the word type (preposition, noun, adjective, adverb, ect)
$$$$$$$$$$  <-- the word definition

Note that there may be multiple instances for the same word, if it has more than one definition.  (Such as the word "a" above has 7 entries.)

I thought Phil, bplus, or Dav might be interested in this as they're always making and using word games.  Now, they can not only list the word but also the definition of a word for their games, if they want to.  Wink

A great find Steve!
I've been trying to create something like this for a while, but never happy with my result.
I started with the free on-line dictionary, split into 2 linked lists, Word and Meaning, then used Word to remove sections for Meaning that related to etymology etc.
Because, for all of my games all I want is these two sections, this would be adequate. But multiple meanings were a bit challenging, as in how to present them.
If this is a free download,I'll experiment with it, and look at adding meanings to some of the games. Thanks for the post!  Smile
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#4
(04-29-2025, 10:35 PM)PhilOfPerth Wrote: A great find Steve!
I've been trying to create something like this for a while, but never happy with my result.
I started with the free on-line dictionary, split into 2 linked lists, Word and Meaning, then used Word to remove sections for Meaning that related to etymology etc.
Because, for all of my games all I want is these two sections, this would be adequate. But multiple meanings were a bit challenging, as in how to present them.
If this is a free download,I'll experiment with it, and look at adding meanings to some of the games. Thanks for the post!  Smile

It's free and from what I can tell doesn't even require any license or attribution. It was based off this work, which was based off Project Gutenberg: https://www.mso.anu.edu.au/~ralph/OPTED/

If you don't mind doing a little parsing yourself, you might prefer to grab the versions from here instead. They have more of the definition without certain things being truncated off. The only problem is they aren't CSV and you'd have to parse the words yourself.

Word before (
Type between ( )
Definition after )

I may take a shot at converting the original over for us sometime later. Knowing there's more to it out there just bugs me as a digital packrat, thinking I'm leaving information sitting on the wayside. LOL!
Reply
#5
New prettier and fancier CSV file for download at the first post.  Go see if it's a little better than the previous version was.  Wink
Reply
#6
(04-30-2025, 12:45 AM)SMcNeill Wrote:
(04-29-2025, 10:35 PM)PhilOfPerth Wrote: A great find Steve!
I've been trying to create something like this for a while, but never happy with my result.
I started with the free on-line dictionary, split into 2 linked lists, Word and Meaning, then used Word to remove sections for Meaning that related to etymology etc.
Because, for all of my games all I want is these two sections, this would be adequate. But multiple meanings were a bit challenging, as in how to present them.
If this is a free download,I'll experiment with it, and look at adding meanings to some of the games. Thanks for the post!  Smile

It's free and from what I can tell doesn't even require any license or attribution.  It was based off this work, which was based off Project Gutenberg: https://www.mso.anu.edu.au/~ralph/OPTED/

If you don't mind doing a little parsing yourself, you might prefer to grab the versions from here instead.  They have more of the definition without certain things being truncated off.  The only problem is they aren't CSV and you'd have to parse the words yourself.

Word before (
Type between ( )
Definition after )

I may take a shot at converting the original over for us sometime later.  Knowing there's more to it out there just bugs me as a digital packrat, thinking I'm leaving information sitting on the wayside.  LOL!

Thanks Steve.

Word before (
Type between ( )
Definition after )

This is pretty well what I've been doing; looks like it will work, once I work out the presentation for the Meanings.
I will also be removing a few "unpalatable" words, to make it suitable for Family usage.

BTW did you know they've now officially removed the word "gullible" from the dictionary?
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#7
@PhilOfPerth Take a look at the first post once again. It may be easier for you to work with. All you need is a simple INPUT to read it from file and no parsing or anything else is necessary.
Reply
#8
(04-30-2025, 01:41 AM)SMcNeill Wrote: @PhilOfPerth Take a look at the first post once again.  It may be easier for you to work with.  All you need is a simple INPUT to read it from file and no parsing or anything else is necessary.

Nice, but a bit verbose for my needs - the word "a" for eaxample, takes about 2000 characters to explain its meanings. 
I think  I'll need to cut it down to 1, maybe 2 meanings per word, and maybe find a way to shorten these further. 
An interesting exercise; hope I have time to complete it.  Big Grin
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply




Users browsing this thread: 2 Guest(s)