[Xerte] Re: Dictionary Web Service

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Feb 4 13:12:42 GMT 2011


I think you have to try and do it the way text is usually selected with the keyboard: by moving the caret, and holding down shift.

The programming challenge is how to get the selected word because as soon as you click the 'get def' button, the textfield loses focus...

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 04 February 2011 12:32
To: Xerte discussion list
Subject: [Xerte] Re: Dictionary Web Service

Wondering about highlighting for accessibility - a short cut key relating to mouse position maybe?

*paging techdis paging techdis*


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 February 2011 11:55
To: Xerte discussion list
Subject: [Xerte] Re: Dictionary Web Service

Well you could do that now as you could get a definition, and then highlight words in the definition and then...

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 04 February 2011 11:45
To: Xerte discussion list
Subject: [Xerte] Re: Dictionary Web Service

There is that horrible javascript script that some web pages have where you hover over certain words and huge bubble appears with info on that word.

Highlighting every word would be useful, and going back to the real goal hypertext was supposed to achieve.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 February 2011 11:10
To: Xerte discussion list
Subject: [Xerte] Re: Dictionary Web Service

Google has a dictionary but the API is closed:

http://googlesystem.blogspot.com/2009/12/on-googles-unofficial-dictionary-api.html

There's some as3.0 code here:
http://code.google.com/p/googleas3api/source/browse/branches/GoogleAPI_v3_RC/src/be/boulevart/google/api/dictionary/GoogleDictionary.as?r=52

Doesn't seem to be supported by Google though, so use it at your own risk. It does seem to be multi-language. Be interesting to see if you could build a piece where the user can highlight any word in the text, and get a definition.



-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 04 February 2011 10:05
To: Xerte discussion list
Subject: [Xerte] Re: Dictionary Web Service

Is the answer an "oracle" system?

With an oracle system, you get a definition by contributing a definition.

So each toolkits has a glossary page - you can request a definition, but also, all your definitions of new words are added to the system dynamically as you create the template?

To help seed the system - advise on other services as a starting point

Could easily support multiple definitions

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 February 2011 10:02
To: Xerte discussion list
Subject: [Xerte] Re: Dictionary Web Service

I don't think the goal ought to be to try and produce a glossary of everything. Relying on existing sources is problematic because often folk want a particular definition, to highlight a particular point, or to nuance the wording in a particular way. I'm thinking pretty lo-fi, a database table with maybe as little as two fields 'word' and 'defn' and some simple methods of adding words and finding defns. Then that content can live outside of the actual content that presents it, and that solves the problem of this stuff living inside pieces of content, and makes it reusable... 


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Fred Riley
Sent: 03 February 2011 13:54
To: Xerte discussion list
Subject: [Xerte] Re: Dictionary Web Service

> Like I said, it sounds like one of those beautifully simple ideas that
> if no one else has done we ought to do. It would fit well with the
> whole xpert / open Nottingham agenda.

Perhaps, but it would be an enormous project to create a public 'glossary of everything'. There are tens of thousands of nouns in English alone, and many of them would have different definitions in different contexts (off the top of my head - silicon, logic, up, spin, chip). You'd need a massive database to store definitions and tags and relations. Not to mention the aggravation of contributors fighting over wording. Essentially, you'd be creating a new dictionary from scratch, but without the 'extra bits' and of relatively limited application compared to dictionaries.

Maybe an XPERT-style aggregation approach might be more productive, if you could find individual glossaries with APIs/feeds you could harvest. 

Worth a try, and a useful project I'm sure, but you might run into 'reinventing the wheel' criticism. 

Cheers

Fred

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list