Online dictionaries from Toolbox data

50 views
Skip to first unread message

Marcelek-chan

unread,
Jan 12, 2008, 10:01:21 PM1/12/08
to Shoebox/Toolbox Field Linguist's Toolbox
I don't know if this is the most suitable place to ask it, but I am
interested in making an online dictionary. I have a Toolbox database
and I would like to know the way to convert these data into an online
dictionary.
Since probably many users of this group have done so I would be very
glad to know how they did.

Thank you very much.

Marcel Skoumal

Nick Thieberger

unread,
Jan 12, 2008, 11:02:26 PM1/12/08
to ShoeboxToolbox-Fiel...@googlegroups.com

I have found that LexiquePro (http://www.lexiquepro.com/) has a very good
way of converting Toolbox lexicons into HTML documents (my own draft
example is here:
http://paradisec.org.au/SELexicon/index-english/main.htm), but I had to
trick LexiquePro into allowing the references to pictures and sounds to
persist through the export. There's a good review of LexiquePro here:
http://www.nflrc.hawaii.edu/ldc/December2007/techreviews/guerin.html .

All the best,

Nick

Wayne Leman

unread,
Jan 13, 2008, 2:18:50 AM1/13/08
to Toolbox Discussion
Ahah! And please tell us the trick, Nick (!), that you used to allow the pictures and sounds to make it through the export process. I think that that is one of the things on Richard Margetts' list of possible new features in the future, but if you have a workaround now, I'd like to know it since I, too, have our dictionary online. I have found Lexique Pro to be quite good for this. Just follow the Lex. Pro process for exporting to HTML files, then upload all the resultant folders and files to some webspace.
 
Wayne
-----
Wayne Leman
Cheyenne dictionary online:
http://cheyenne.110mb.com

Nick Thieberger

unread,
Jan 13, 2008, 2:55:37 AM1/13/08
to ShoeboxToolbox-Fiel...@googlegroups.com
Well it is not much of a trick. Since I do not use the \ph field and LexiquePro does allow it to be exported I just included my picture reference in that field immediately prior to importing to LexiquePro. Then, when the HTML document was created I edited it with regular expressions to change it into an embedded image reference.

Similarly with the audio reference, I included the filename, start time and end time of the audio segment in which the headword is read by a speaker of the language in a field in my Toolbox database, then, before importing the file into LexiquePro I appended this field to the headword field. After export to HTML I again used regex to change this into the relevant coding (this uses a streaming server our team has been working with, described here: http://tinyurl.com/3y8oxv) and the audio samples are then called by a hyperlink (the underscored headword).

Nick

Wayne Leman

unread,
Jan 13, 2008, 11:45:14 AM1/13/08
to ShoeboxToolbox-Fiel...@googlegroups.com
Thanks, Nick.
Wayne

Marcel Skoumal

unread,
Jan 14, 2008, 5:14:58 PM1/14/08
to ShoeboxToolbox-Fiel...@googlegroups.com
Thank you very much, but my experiences with LexiquePro haven't been very...satisfactory. I was asking myself how can one do these dictionaries where you just type the word and click and you get the translation options in the other language.... but strangely I can't find it nowhere....

Thanks!

Wayne Leman

unread,
Jan 14, 2008, 6:15:01 PM1/14/08
to ShoeboxToolbox-Fiel...@googlegroups.com
Marcel,
 
I am able to type an English word in the English search window of LexiquePro and get the translation options in the other language. The search window can be in any national language, of course, it doesn't have to be just English. It can be French, Portuguese, Russian, etc. Maybe I am not understanding what it is that you want to do with a dictionary program. Have you used the national language search window in LexiquePro?
 
Wayne
-----
Wayne Leman
Cheyenne dictionary online:
http://cheyenne.110mb.com
Thank you very much, but my experiences with LexiquePro haven't been very...satisfactory. I was asking myself how can one do these dictionaries where you just type the word and click and you get the translation options in the other language.... but strangely I can't find it nowhere....

Thanks!

Stuart Robinson

unread,
Jan 14, 2008, 6:21:39 PM1/14/08
to ShoeboxToolbox-Fiel...@googlegroups.com
I think you may have to roll your own to get exactly what you want. One
relatively straightforward option would be to do it as a Python CGI script
that uses the Natural Language Toolkit for Python to parse and manipulate
your lexicon. You can find some info about the NLTK here:

http://www.nflrc.hawaii.edu/ldc/June2007/robinson/robinson.html

I'll try to set up such a CGI script as a proof of concept.

Regards,
Stuart Robinson

+---------------------------------------
Stuart Robinson
Email: stuart at zapata dot org
Homepage: http://www.zapata.org/stuart

cgot...@gmail.com

unread,
Jan 15, 2008, 12:50:39 PM1/15/08
to Shoebox/Toolbox Field Linguist's Toolbox
IIRC, the final version of Shoebox had a project setup for exporting
dictionaries to the web (at least the fieldtester´s version did). It
was included in the program download. It included cascading style
sheets, etc. Everything you needed for basic web publishing. If I
understand things correctly, the entire reason for including an XML
export process in Shoebox was to facilitate this web dictionary
creation process. I might be wrong about the motivations of these
developments, though. I´ve noticed, of course, that Toolbox doesn´t
include these files. It´s a shame I don´t have them lying around, or I
´d send them to you. You should ask somebody at Toolbox support about
it. I´m sure they know what I am talking about.

peace be with you,
Chris

PS. Anytime someone mentions words like: ¨there´s a trick to it¨ or
¨work-around;¨ I start to shudder. It´s an involuntary response.

Jan Ullrich

unread,
Feb 9, 2008, 11:07:51 AM2/9/08
to ShoeboxToolbox-Fiel...@googlegroups.com
Dear Toolboxers,
 
I have a problem in setting the sort order to ignore dash.
I recently needed to search for dash and so I deleted it from the ignored characters. Then I put it back in there, yet it is no longer ignored in sort order. This is happening on my desktop, while my laptop still ignores dash in sort order. As much as I try I can't find any difference in Toolbox settings between the two computers.
 
Can anybody help
 
 
Jan F. Ullrich
 
 
 
Reply all
Reply to author
Forward
0 new messages