473,666 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Markup for dictionary/glossary

I'm looking for an appropriate markup for a dictionary/glossary.
A dummy example is

English German
eight acht
five fünf
four vier
nine neun
one eins
seven sieben
six sechs
three drei
two zwei
zero null

The first idea is of course a <TABLE>. Are there other possibilities?
For example, a definition list <DLcomes into my mind. Although
the German term does not really /define/ the English term,
<DLmight come closest to the concept of a dictionary/glossary.
Feb 7 '07 #1
7 2643
Wed, 7 Feb 2007 15:18:31 +0100: Andreas Prilop
<An************ ***@trashmail.n et>: in sci.lang:
>I'm looking for an appropriate markup for a dictionary/glossary.
A dummy example is

English German
eight acht
five fünf
four vier
nine neun
one eins
seven sieben
six sechs
three drei
two zwei
zero null

The first idea is of course a <TABLE>. Are there other possibilities?
For example, a definition list <DLcomes into my mind. Although
the German term does not really /define/ the English term,
<DLmight come closest to the concept of a dictionary/glossary.
I used tables in my http://rudhar.com/lingtics/ptesdiff.htm, and it
suits me fine.
--
Ruud Harmsen - http://rudhar.com

Feb 7 '07 #2
Andreas Prilop wrote:
I'm looking for an appropriate markup for a dictionary/glossary.
A dummy example is
English German
eight acht
[...]
The first idea is of course a <TABLE>.
A table is IMHO a little bit harder to read, if a term has more than one
translation.
Are there other possibilities?
For example, a definition list <DLcomes into my mind. Although
the German term does not really /define/ the English term,
<DLmight come closest to the concept of a dictionary/glossary.
<DLis the most appropriate. 'definition' is the usual term for the
right part of a dictionary or glossary. The left part is called
'subject', 'keyword', 'term'.

On dict.cc you can see both variants and switch between <DLand <TABLE>:
http://www.dict.cc/englisch-deutsch/ink.html # DL
http://www.dict.cc/?s=ink # TABLE

wiktionary uses <DL>, and my nomen.at uses DL-style (but not DL itself).

But look into TEI. AFAIR they have some XSLT for conversion of
TEI-dict.XML to HTML.

Helmut Wollmersdorfer
Feb 7 '07 #3
On 7 Feb, 14:18, Andreas Prilop <AndreasPrilop2 ...@trashmail.n et>
wrote:
I'm looking for an appropriate markup for a dictionary/glossary.
I'd go with <dl>, unless you had a strong argument for more than two
columns when I'd switch to <table>

Feb 7 '07 #4
Scripsit Helmut Wollmersdorfer:
A table is IMHO a little bit harder to read, if a term has more than
one translation.
Why? You can put the translations each on a line of its own inside a cell,
or you can have a row in the table for each pair of words so that for a word
with multiple translations, you use rowspan="..." in the first cell.

In practice, the desired visual appearance is important, since you cannot
turn a <dlinto tabular presentation or a table into non-tabular
presentation in CSS. (Tools might exist in principle but aren't supported by
the most common browser.)
<DLis the most appropriate. 'definition' is the usual term for the
right part of a dictionary or glossary. The left part is called
'subject', 'keyword', 'term'.
<dlis possible, since a translation can indeed be seen as a definition,
but it is debatable whether <tableis more logical.

There's a particular practical benefit in using a table. You (i.e., the
generic user) can copy the table into his favorite spreadsheet program
(i.e., MS Excel), which can interpret the table in a way that lets him
reorder it conveniently and e.g. produce a reverse glossary.
But look into TEI. AFAIR they have some XSLT for conversion of
TEI-dict.XML to HTML.
For a complicated dictionary, one might need to look at general structured
formats indeed, but for delivery in HTML format, much of the structure needs
to be lost anyway.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Feb 7 '07 #5
Andreas Prilop wrote:
I'm looking for an appropriate markup for a dictionary/glossary.
A dummy example is

English German
eight acht
five fünf
four vier
nine neun
one eins
seven sieben
six sechs
three drei
two zwei
zero null

The first idea is of course a <TABLE>. Are there other possibilities?
For example, a definition list <DLcomes into my mind. Although
the German term does not really /define/ the English term,
<DLmight come closest to the concept of a dictionary/glossary.
Where I have a brief term with a longer definition, I use a definition
list. See my <http://www.rossde.com/internet/intr_gloss.html for an
example.

Where I compare sets of two terms each that are about the same size
(including definitions), I use a table with a row per set of terms, with
two columns. This even works where occasionally a term on one side has
two or more terms on the other side. See my
<http://www.rossde.com/malaprops/malaprops.htmlf or an example.

Finally, where I know I will likely compare three or more terms in a
set, each with its own definition, I rely on CSS to format the page.
See my <http://www.rossde.com/malaprops/homonyms.htmlfo r an example.
This example also uses sidebars to expand on how the terms in a set
differ. While the two-term page could have also been done this way, the
reverse is not true; this page could not reasonably be done with a table.

--

David E. Ross
<http://www.rossde.com/>

I use SeaMonkey as my Web browser because I want
a browser that complies with Web standards. See
<http://www.mozilla.org/projects/seamonkey/>.
Feb 7 '07 #6
Andreas Prilop <An************ ***@trashmail.n etwrote in message
news:Pi******** *************** *******@s5b004. rrzn.uni-hannover.de...
I'm looking for an appropriate markup for a dictionary/glossary.
A dummy example is

English German
eight acht
five fünf
four vier
nine neun
one eins
seven sieben
six sechs
three drei
two zwei
zero null

The first idea is of course a <TABLE>. Are there other possibilities?
For example, a definition list <DLcomes into my mind. Although
the German term does not really /define/ the English term,
<DLmight come closest to the concept of a dictionary/glossary.
Have you looked at <OLOrdered Lists?
They often allow fast lookups with non-sequential binary searches.

Are you talking HTML, XML, SOAP or what?

pjk
Feb 8 '07 #7
On Thu, 8 Feb 2007, Paul J Kriha wrote:
Have you looked at <OLOrdered Lists?
They often allow fast lookups with non-sequential binary searches.
This is not a concern for a small list of words. I don't mean
heavy books like Webster's Dictionary.
Are you talking HTML, XML, SOAP or what?
HTML.
Feb 8 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1509
by: Skip Montanaro | last post by:
Awhile ago, in response to confusion about the meaning of "iterable", I decided the Python documentation needed a glossary and created one with that single entry. Adding a glossary to the documentation with a single term seemed kind of pointless, so I didn't check anything into CVS. I'm still interested in getting this off the ground, though. To make it more likely that something significant gets done, I created a Wiki to which people...
1
2432
by: Skip Montanaro | last post by:
Thanks to people who submitted content for the Python Glossary: http://manatee.mojam.com/python-glossary I just completed a first pass at folding it into the Python tutorial. It's now a separate appendix to that document. It will take awhile for the changes to show up on the website and in distributions, but if you have named CVS access to the Python distribution, you can get to it now. People with only anonymous CVS access or no...
4
1732
by: Brian van den Broek | last post by:
Hi all, in a recent thread Bengt Richter said unto the world upon 2004-09-04 15:31: <SNIP> > This brings up the question of standard terminology (e.g. for > namespace). If one googles for python glossary, the top references are
0
1464
by: Andy Rossmeissl | last post by:
Hi there- I run a rather large website that serves primarily as a technical information repository. I've been researching ways to process documents as they're served in such a way that technical terms which have glossary entries are made into hyperlinks pointing at their entry in a glossary. The site is XHTML 1.0 Strict compliant, but unfortunately it's necessary that I serve it from IIS (Windows). Am I correct that this is something that...
1
3071
by: syamlalz | last post by:
Hi all.. I want to create a math glossary in flash using XML to load data. http://www.icoachmath.com/SiteMap/MathDictionaryMain.html This is a sample site contains data. I would like to make one lik this in flsh...Any one please help me to find a samle flash glossary site....
1
1043
by: =?Utf-8?B?bWRyYXl3ZWxzaA==?= | last post by:
Would someone instruct me how to access the Glossary with the computer terminology. Thank you! Mark -- "I know that I do not know."
3
5134
by: LongpreC | last post by:
Hi, I've been using Oracle Translation Hub with the Trados glossary to translate my application. It worked fine for the past 2 years. It stopped working for the past couple of days. Here's the problem. After adding translations to the glossary, i'm trying to apply the glossary to a report. In the output window, i've got the message saying that the glossary was applied, but the status remains NEW for all labels and nothing actually...
8
1983
by: Andy B | last post by:
I have the object property StockContract.Dictionary which is a dictionary collection of <string, stringkey/value pairs. I need to be able to retreive the keys and their values and display them on a page. I want to use something like a repeater or something like that. I don't know if this would be code I will have to manually write myself, or if it can be done with dataBinding of some sort. I am using vs2008 and c# 3.5. Any ideas on how to...
2
3129
by: Andy B | last post by:
I don't know if this is even working or not but here is the problem. I have a gridview that I databound to a dictionary<string, stringcollection: Contract StockContract = new Contract(); StockContract.Dictionary = ContractDictionary<string, string>(); GridView1.DataSource=StockContract.Dictionary; So far so good. Now I assign something to the Dictionary collection through some textboxes and a button:
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4369
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.