[freedict] Re: freedicts - REST and GraphQL APIs

  • From: Francisco Mondaca <f.mondaca@xxxxxxxxxxxx>
  • To: freedict@xxxxxxxxxxxxx
  • Date: Sun, 06 Oct 2019 23:00:44 +0200

Dear Piotr,


Let me join Sebastian in saying that this is quite exciting --
thanks 
for the news and congrats on the idea ;-)

Thank you!


I understand that each dictionary should be accompanied by a piece
of 
indexing info on the particular fields, correct? This in itself
could 
have some diagnostic value, across the project.

You are right. Kosh requires (1) Lexical data in XML format; (2) A JSON
configuration file with XPaths to the elements to be extracted and
indexed as their datatypes (for elastic); and (3) a '.kosh' file with:
(a) the dataset's name, (b) the paths to the XML file(s) of the
dataset, and (c) the path to the JSON config file.

I think that a after all the JSON configuration files provide a
detailed description of the respective datasets (of each dictionary),
the APIs could be employed for multiple purposes.

Best regards,

Francisco




Best wishes,

    Piotr

On 03/10/2019 14:06, Francisco Mondaca wrote:
Dear FD Members,

My name is Francisco Mondaca and I'm a researcher at the University
of
Cologne. Together with other colleagues we have developed Kosh (
https://kosh.uni-koeln.de), an open-source framework for creating
and
maintaining APIs for dictionaries. Configuring and deploying Kosh
is
relatively simple. You can find more details at Kosh's website.

With Kosh we created APIs for 82 FD. You can query each one of them
either through a REST or a GraphqL API. For example:

https://kosh.uni-koeln.de/fd-dictionaries/lat_eng/graphql
https://kosh.uni-koeln.de/fd-dictionaries/lat_eng/restful

For the moment we hosted a copy of this forked repo:
https://github.com/vocabulista/fd-dictionaries/tree/fd-kosh on a
server
that we manage, but Kosh with the FDs can be hosted somewhere else.
Our
goal is simply to make Kosh visible to others, so that it can be
used
and improved over time.

If you have any questions, don't hesitate to contact me.

Best regards,

Francisco









-- 
FreeDict — Free And Open Dictionaries
Manage your subscription at //www.freelists.org/list/freedict
Wiki: https://github.com/freedict/fd-dictionaries/wiki
Web: http://freedict.org

Other related posts: