Software by Gary Dumer
Download the software
LdP Lexikon Help
The purpose of this software is to look up a word or phrase in one language and display the matching word or phrase in another language. One of the languages will, quite naturally, be LdP, the Language of the Planet, and the other is currently English. Additional languages will be added in the future if volunteers are willing to translate the English words into other languages.
Some basic features of LdP Lexikon:
- Active search - produces results with each letter typed
- Smart search - reduces words to root if necessary
- Repeat last search
- File search of any text file
- Clear function
- Stay on Top feature
- Clipboard aware - search words stored in clipboard
- Sort function
- Window snap to center
- Multiple Database selection
- Application language selection
- Save matched words to file
- Quick help for affixes/prefixes/abbreviations
- Quick help for keyboard shortcuts
- Partial word search using "%" wildcard
- Search for the same English word in the Esperanto database
- Micro Search Box
The two main items in the program are the textbox and the listbox. The purpose of the textbox is to enter a word or phrase in the selected language. The listbox will display all translated words or phrases of the second language if there is a match. When you start the program for the first time, you will be in LdP to English mode. That means you must enter a LdP word into the Search box. As you are typing, words that match a portion of the search word will be displayed. This is called Active search in that it is actively communicating information to you regarding your search. This option may be turned off if you prefer to wait until the word is typed in its entirety before pressing the Search button. Pressing the Search button is not required when in Active Search mode, in fact the Search button will be invisible while in Active mode. When the search is complete, all translated words or phrases will appear in the listbox if a match was found. You may change search direction modes at any time by clicking on the English to LdP checkbox or LdP to English checkbox at the top of the form. This determines which language is to be searched (LdP or English).
After all matching words have been displayed, you may select a translated word by clicking the Left Mouse button on the word in the listbox. Taking this action automatically copies the translated word, from the middle column of the listbox, to the clipboard so you can paste it into a document you may be creating. This accomplishes the main goal of the application, that is, to search for a word in one language and translate it into another language. However, this is not all the program can do.
You will notice that the application has a menu and a toolbar. The menu allows you to select the language database you wish to use during the session. Initially the only language database available is English. See above for more information. Another menu item allows you to select in which language you wish to display the application interface. Currently, English and LdP are available. Here again, help in translating the application user interface text is needed to expand this capability. The menu also contains the typical Help features you would expect to find in an application. The final menu option is a Save feature which allows you to save the matched word list from the listbox into a data file on disk.
The toolbar contains several useful features to enhance your searching experience. One button allows you to turn the Active Search feature on or off. Another button is available when the Active Search option is turned off which permits you to repeat the previous search if you accidently cleared the data before you were finished viewing it. You will also see the Clear button which is used to clear the contents of the textbox and listbox so you may begin a new search. One of the most useful features of all is called the "Stay On Top" button and its purpose is to keep the application window on top of all other windows you may have open on your desktop. This feature may be turned on or off. The purpose of this feature is to allow you to read a document in, for example, LdP with the Lexikon application remaining visible permitting you to doubleclick on any word in the document and copy it to the clipboard. As soon as this action is taken, the word automatically appears in the application textbox which instantly invokes the database search and displays any matches in the listbox. This allows you to continue reading the document while viewing the translation in the Lexikon app. A Micro Search Button offers the same search functionality as the standard search window, but with a much smaller footprint giving you greater visibility of underlying documents when using Stay on Top. Two additional buttons are available to sort the matched data for ease of viewing. You may sort in ascending or descending order. This is useful for large searches. Several buttons provide quick help for displaying LdP affixes/prefixes and abbreviations. The final button allows you to realign your main application window to the center of the screen.
You may also do a wildcard search when you only know a portion of the word. For example, suppose you want to look up the English word "access" in the vocabulary, but you're not sure if it is spelled with two "c"s or one. You may enter "ac%" and you will get all words that start with "ac" which will, of course, include the word you're looking for... ie. "access". This feature is convenient when you just want to browse the database. You can enter the "%" by itself and browse the entire DB from "a" to "z", or enter "a%" and browse all words that start with the letter "a". Some additional things you can do with the "%" would be, for example, to use "a%o" to search for words that begin with "a" and end in "o". Or use "%ko%" to search for any words that have "ko" somewhere inside the phrase. The wildcard search works equally well whether you are searching for LdP words or English (or any other language... when available) words.
In addition to the search capability described above, this application also functions as a complete database maintenance utility. The supported functions are Add, Modify, and Delete. All functions are initiated by clicking the Right Mouse button "in the listbox" to view a pop-up menu containing the three options as well as a Cancel option. Selection of the Add function will display a data entry form for the purpose of entering the data required to insert a valid record into the Lexikon database. This may be done at any time. The Modify function, on the other hand, can only be initiated after the search function displays matched words. At that point you may initiate the Modify function by clicking the Right Mouse button on the item you wish to modify. This will display an edit form for the purpose of modifying existing fields in the database. Clicking on the Commit button will permanently modify the matching record in the database. The final maintenance function is Delete. This function is started in a similar fashion as the Modify function by right clicking on the item you wish to delete. A dialog box will ask confirmation of the deletion. NOTE: This action cannot be reversed.
IMPORTANT: Use of the update feature affects only your local version of the database on your own computer. Other users will eventually be "out of sync" with your personal database. It would be most beneficial if users making changes to the database in this fashion, would report all such changes to the developer of this software so the database will remain consistent and accurate.
One final "feature" I have been experimenting with provides rudimentry translation of complete sentences and paragraphs from Ldp to English or English to LdP. When I say rudimentry... I mean just barely. Because there are multiple meanings for many of the words in the vocabulary, what you end up with is a list (within curly brackets) of all the words that match a given single word. If a word is not found in the vocabulary, the original word is placed in square brackets as is. Don't expect anything like "GOOGLE" translations! As I said, it is experimental, but it does provide a useful service... at times. Try it!
How does it work?
This is the easy part. Just like the discussion above about "Stay on Top" where you copy a single word to the clipboard, you do the same thing with a complete sentence or paragraph. As soon as you copy the selection to the clipboard, Ldp Lexicon begins it's translation process. When completed, it will display the translation in an edit box. You may view it and/or save it to a file. That's all there is to it!
This package contains software which is copyright ©2011 Gary Dumer.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- You may not sell this software package.
- You may include this software in a distribution of other software, and you may charge a nominal fee for the media used.
- The name of the author(s) may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS AS IS, AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Fo unitaa de Arda!
For the unity of the Planet!