Wanted: Name of a lightweight English dictionary package
Does anyone know of a lightweight dictionary for English words? I want something that does not require network access, and ideally has a command line interface. That way I can highlight some words in an application such as my web browser, and hit a desktop shortcut key bound to "xterm -e <dictionary_app> `xclip -o`" and immediately see the word's definition.
Last edited by likelightweight (2010-04-21 06:49:19)
The plan9port package includes a program called dict, along with information about where to obtain dictionaries which are properly formatted for it.
Similar Messages
-
Datacleanse name parsing for the English dictionary
I am using the person_firm_en (English) dictionary for name parsing (Datacleanse for Data Services XI) for Canada data. There are many situations where the full name consists of 3 names and datacleanse parses the 2nd and the 3rd name into the 'family name' field. Thus, instead of parsing the 2nd name into the given_name2 field, it puts it with the last name into the family_name field. Some examples are:
Example 1 - ROBERT GRAHAM LEITCH
given_name1 - Robert
family_name - Graham Leitch
Example 2 - JEREMY HURON NEAL
given_name1 - Jeremy
family_name - Huron Neal
SAP's response to this issue is that each entry which is not being parsed out as given_name2 needs to have the person_firm_en dictionary entry edited to add it as a given name. This can also impact its parsing if this name appears as a last name.
Does anyone have any other suggestions or any rule/code that you have implemented to handle such situations?Shenaz,
We have struggled quite a bit with the name parsing n the Data Cleanse (especially when using version 12.1.1). I wrote some custom functions that do name parsing and in many cases, especially for middle names, they seem to do a better job. Below is the code that returns Person1 Middle name from a passed in mixed name value. The functions CF_Name_Standardize_Replace_Chars and CF_Remove_Extra_Spaces contain find\replace tables and remove things like punctuation, MR, MRS, empty space, etc.
1 Have 5 other functions, to pull out First, Middle, and Last names of persons 1 and 2. They look very similar, the only different part being the last section where the word pattern is analyzed and the decision is made as to which word is to be returned.
I could get you code for the others if it would help.
#prep
$return_string = '';
$word_1 = '';
$word_2 = '';
$word_3 = '';
$word_4 = '';
$word_5 = '';
$word_6 = '';
$word_7 = '';
$word_count = 0;
$working_string = ltrim_blanks ( rtrim_blanks( $input_string ) );
$working_string = upper( $working_string );
$working_string = CF_Name_Standardize_Replace_Chars( $working_string );
if ( nvl ( index ( $working_string, ',', 1), 0 ) = 0)
begin
$has_comma = 'false';
end
else
begin
$has_comma = 'true';
end
#assign the words to their variables
if( $has_comma = 'true' )
begin
$split_index = index ( $working_string, ',', 1);
$word_1 = ltrim_blanks(rtrim_blanks(substr( $working_string, 1, $split_index - 1 )));
$word_1 = CF_Remove_Extra_Spaces( $word_1 );
$word_1 = replace_substr( $word_1 , ' ', '-' ); #we will assume it is a last name and should be hyphenated
$working_string = substr( $working_string, $split_index + 1, 255 );
$working_string = ltrim_blanks( rtrim_blanks( replace_substr( $working_string , ',', ' ' ) ) );
$working_string = CF_Remove_Extra_Spaces( $working_string );
#these are now offset by one because we removed the first "word" before the comma.
$word_2 = nvl( word( $working_string, 1 ), '');
$word_3 = nvl( word( $working_string, 2 ), '');
$word_4 = nvl( word( $working_string, 3 ), '');
$word_5 = nvl( word( $working_string, 4 ), '');
$word_6 = nvl( word( $working_string, 5 ), '');
$word_7 = nvl( word( $working_string, 6 ), '');
end
else
begin
$working_string = CF_Remove_Extra_Spaces( $working_string );
$word_1 = nvl( word( $working_string, 1 ), '');
$word_2 = nvl( word( $working_string, 2 ), '');
$word_3 = nvl( word( $working_string, 3 ), '');
$word_4 = nvl( word( $working_string, 4 ), '');
$word_5 = nvl( word( $working_string, 5 ), '');
$word_6 = nvl( word( $working_string, 6 ), '');
$word_7 = nvl( word( $working_string, 7 ), '');
end
#figure out what the word count is
if ($word_1 != '')
begin
$word_count = 1;
end
if ($word_2 != '')
begin
$word_count = 2;
end
if ($word_3 != '')
begin
$word_count = 3;
end
if ($word_4 != '')
begin
$word_count = 4;
end
if ($word_5 != '')
begin
$word_count = 5;
end
if ($word_6 != '')
begin
$word_count = 6;
end
if ($word_7 != '')
begin
$word_count = 7;
end
#and finally, analyze the word pattern and make a decision where the desired word is
if ($has_comma = 'true')
begin
if ($word_count = 6 AND $word_4 = '&')
begin
$return_string = $word_3;
end
if ($word_count = 5 AND $word_4 = '&')
begin
$return_string = $word_3;
end
if ($word_count = 4 AND $word_3 != '&')
begin
$return_string = $word_3 || '-' || $word_4; #assume a middle name that should be hyphenated in this case?? i.e. Smith, Damian John-Doe (From Smith, Damian John Doe) - (Return John-Doe)
end
if ($word_count = 3)
begin
$return_string = $word_3;
end
end
else
begin
if ($word_count = 3 AND $word_2 != '&')
begin
$return_string = $word_2;
end
if ($word_count = 4 AND $word_2 != '&' AND $word_3 != '&' AND $word_4 != '&')
begin
$return_string = $word_2;
end
if ($word_count > 4 AND $word_3 = '&')
begin
#this stuff just in case we have a middle "initial" in the second position. In that case we will assume a middle name is there
if (length( $word_2 ) = 1)
begin
$return_string = $word_2;
end
if (length( $word_2 ) = 2 AND index($word_2, '.', 1) = 2)
begin
$return_string = $word_2;
end
#end of middle "initial" search.
end
if ($word_count > 5 AND $word_4 = '&')
begin
$return_string = $word_2;
end
end
Return init_cap( $return_string ); -
How to integrate talking english dictionary to an app
Hello,
I am a beginner with Actionscript language and Starling framework. I want to use a talking english dictionary (to select words from dictionary and pronounce them) in my game project. Is there any way to add it? Kindly suggest if anybody has its solution.
Regards,
AsitI want to use a talking english dictionary (to select words from dictionary and pronounce them) in my game project
More details, please. -
I am using iphone 5c with ios version 7.0.4.
language- English
I am having trouble to use Japanese to English dictionary in iBooks.
Although I can use oxford english to english dictionary.
But cant use Japanese to English dictionary or Japanese dictionary in it.
When I search any English meaning for Japanese word in iBooks ,
a page show up with "No definition found" in middle of the screen
and "Mange" "Search Web" on two different lower corner side of the screen.
If I download the dictionary from "manage" I can use that before locking the screen..
When I unlock the screen and try to use Japanese to English dictionary again in IBooks it does not work.I think this is a bug apple needs to fix. Tell them via
http://www.apple.com/feedback -
I want to add french-english dictionary into dictionary app
Hey folks,
I am using MacBook Pro on Yosemite. I wonder if there is a way to integrate french-english dictionary in dictionary app. Thanks!Not that I know of .But you can get a French English dictionary form the app store. They start at $4.99
-
Can't Download English Dictionary and Thesaurus After Payment
I paid for this application, English Dictionary and Thesaurus, and $4.50 was reducted from my credit card. Immdiately after payment,application world dispalyed a message that it was unable to authenticte my credit. However, I was amazed when I received alert from my bank confirming payment of $4.50 to APP WORLD ORDERFIND.COM, and I logged into my internet bank account and confirmed that.
I have been trying to download the application all to no avail. Please I want the support team to help me sort this out so that I can download the application or my money be refunded to me.
I have document to back up my claim.
Best Regards
Utibe
EDIT: Removed personal information to comply with Community Guidelines and Terms and Conditions of Use.See
After Effects CS6 and Premiere Pro CS6 not available for installation for 32-bit systems
http://forums.adobe.com/thread/1002746
http://www.adobe.com/au/products/creativesuite/faq.html#64bit-support -
German - English Dictionary to translate words in iBooks
Anyone know of a way to install a German - English dictionary that can be used to define words within iBooks? This functionality is in Kindle, would be useful to have it for my German iBooks as well.
No, Apple does not provide the kind of dictionary you want, and there is no way for users to add any so that they will work that way. But you can ask for it at
http://www.apple.com/feedback
There may be other ebook reader apps (e.g. Kindle, Nook, Kobo, Googlebooks, Sony) which have this kind of feature, but you would have to check them yourself. -
Why can't I install the British English Dictionary?
I get the message "British English Dictionary could not be installed because it is not compatible with Firefox 4.0".
I'm trying to install the most recent version, Version 1.19.1, dated December 5, 2010, and supposed to work with Firefox 2.0b1 - 4.0.*.
The Release Notes state "This release updates the installer for compatibility with the new extension packaging format in Firefox 4 ".
But still it won't install and I'm stuck with the US dictionary. Anyone got any idea why?
I'm running Firefox 4.0 on Windows XP SP3Are you installing the dictionary from the add-ons site?
* https://addons.mozilla.org/en-US/firefox/addon/british-english-dictionary/ -
Translation Dictionary Based on English/English Dictionary
Hi,
I am sorry, I don't know where this post should go since there is no such category.
I want to create an English/other language/English dictionary for online publishing. I did extensive searches but was not able to find anything suitable.
Ideally, I would like to load an English/English dictionary and go in and edit the definitions of words into the language of my choice. Thereafter, I want to publish the dictionary online either as a database or as a flat HTML pages based on the alphabet.
Can someone help me?
Thanks!I didn't realize that the said website has a Lebanese keyboard. I can see that their work is futile. I've already told these guys that trying to invent new characters to pronounce sounds not available in English is useless because people are naturally lazy and want the easy way i.e. what you write is what you say. They did not listen to me and went ahead with a complex system that will go no where.
What actually is in use all over Lebanon is they write Lebanese using the same characters we use with three exceptions where numbers are used to represent sounds not available in English. They are number 2, 3 and 7. That's it and a combination of 2 sets of characters KH and GH. This is all a person who needs to read Lebanese in Latin characters needs to learn. Please take a look at my simplified system on my website here:
http://phoenicia.org/leblanguage.html
Please see the key for pronunciation below the second map in the bottom half of the page.
Do you use Ukelele to create a keyboard in OS X? -
ODE won't update. Why is my Oxford English Dictionary app is not properly registered in my iStore account? I purchased it and updated it at least once before. Now, when I select the app it flashes an "Update Now - OK" request/message. However, it does not update when I select OK. Any suggestions ?
@Winston Churchill. That would be simple enough as he spent the night here with my son and very likely went online with Firefox. Advantages and disadvantages of that one.
What makes this even more interesting is that I let my son use my iPhone for several months. I discovered that he registered my iPhone on his account and using my name. My iPhone does still show up on his/my (?) account. The iPad does not Here's the schematic as it it was:
[email protected] His PW NewName MyiPhone[same serial number] FMI Offline
[email protected] My PW MyName MyiPhone[same serial number] FMI Offline
MyiPad FMI Offline
12 hours after theft:
[email protected] HisPW NewName MyiPhone [same serial number] FMI Offline
[email protected] My PW MyName No Devices
I thought it might have been the 2 account/1 device problem but it's worked for awhile. So..
WHAT NEXT? (I did find the IMEI and IMEID in my backup in iTunes by the way-can't validate for some reason). -
I changed my land/region to Germany, but i want my app store in English language, how can i change it to English from German?
plz help..You cannot.
-
Hello, I live in the German speaking part of Switzerland (and have a credit card address here too) but want to watch films in English, Italian, or French. Why are films not available in these other languages ? Unless I am mistaken, iTunes Switzerland is far from Swiss and does not encourage its people to watch films in the local languages of its country (at least French and Italian would be good too...). Can anyone help ? Do I have to move to Geneva to watch a non French film in French or Lugano to watch a non Italian film in Italian or simply buy a DVD to get round it?
I have the same problem. I want to watch any movies in French (in the original, or subtitled and/or dubbed). But I cannot seem to find any on iTunes. Does iTunes offer any content in other countries (I live overseas) in the languages of those countries?
-
How can I integrate the Fox add-ons into a PDF (Use Adobe Acrobat (in Firefox), such as Babylon English Dictionary? Many PDF do support my add-ons. BTW, the PDF in question is one that I have uploaded to my web site.
Babylon would need to support Adobe Acrobat for that to happen.
-
I want to purchase an ipad 32gb in the larger size buy have read many bad reviews that they have problems staying connected to wifi. I don't want to have to buy a data package so I only want the wifi one. I already pay apple for my iphone data and I can't afford more money. Why are there so many bad reviews and are the newer ones that much better, according to many reviews they are not.Please help
I already pay apple for my iphone data
You pay your carrier for data, not Apple.
Why are there so many bad reviews
Where? Regardless, there are always going to be a handful of people having some sort of issue with any given device, but I would not therefore assume that you would be one of them. -
My iTunes and App store are opening in chinese language but I want to convert it into English... How to do that???
As far as I know the language of the two stores on the iPad (iTunes and the App Store) can't be changed - they should be in the language of the country where your account is based (if they aren't correct then try logging out of your account by tapping on your id in Settings > Store and then log back in).
Maybe you are looking for
-
Managing multiple sites in different iWeb versions - PLEASE HELP!
apnewbie/cyclosaurus/roddy/old toad (and any others more knowledgeable than i): i've run into a bit of a pickle. i am hoping someone can help straighten me out. i am about to jump out of a window. here's the rundown: (for starters, i have a .mac acco
-
How do I get my iPod to work if I rested it but forgot my Apple ID and Password
I made an Apple ID and a password a year ago. My iPod touch was locked by my little cousin and I couldn't get in it so I rested it but now it is asking me for the Apple ID and Password but the thing is that I remember it. So I made a new Apple ID an
-
hi can any please know , what is labels & why we are using it in Scripts?
-
Time Machine causing my system drive to fill up
I really don't know what's happening! I turned on Time Machine agian after having it off for a month or so. It ran a new back up (whch took almost 12 hours) and all seemed normal. But now, whenever it runs an hourly back up, my system drive gets fill
-
Creating Portlet programatically in Portal 4 as in WLCS3.5
Can i create a portlet through some APIs in Portal4.0 ? I guess this is possible in WLCS 3.5.