[INDOLOGY] Sanskrit Kosha API

Dhaval Patel drdhaval2785 at gmail.com
Tue Jan 21 16:18:08 UTC 2020


Dear scholars,

Currently we have around 30 koshas available in digital format.
I have developed a small API to search the content matching a given word
from all the dictionaries.

*For non technical people -*

1. Use https://www.sanskritworld.in/sanskrittool/kosha-search/kosha.html
2. Use 'all' as default value in 'Dictionary' field. If you want data for a
specific dictionary, use its dictionary code from the list given below.
3. input transliteration and output transliteration can be any of the
following values -

   - bengali
   - devanagari
   - gujarati
   - gurmukhi
   - kannada
   - malayalam
   - oriya
   - tamil
   - telugu
   - hk (Harvard-Kyoto)
   - iast (International Alphabet of Sanskrit Transliteration)
   - itrans (ITRANS)
   - itrans_dravidian (ITRANS with support for Dravidian short "e" and "o")
   - kolkata (National Library at Kolkata)
   - slp1 (Sanskrit Library Phonetic Basic)
   - velthuis (Velthuis)
   - wx (WX)


*API description -*
https://kosha.sanskritworld.in/#/default is the API for programmers.

1. https://kosha.sanskritworld.in/v0.0.1/dictcode
gives the codes and full form of dictionary name.

2. https://kosha.sanskritworld.in/v0.0.1/query/{query}
gives the details of all data matching `query` in all dictionaries.
e.g. https://kosha.sanskritworld.in/v0.0.1/query/rAma

3. https://kosha.sanskritworld.in/v0.0.1/query/{query}/koshas/{kosha}
gives the detail of a given `query` in given `kosha`.
If you are unsure of the `kosha`, see API 1 for short codes.
e.g. https://kosha.sanskritworld.in/v0.0.1/query/rAma/koshas/ABCH
This will give all details of rAma in dictionary अभिधानचिन्तामणि of
हेमचन्द्र।



*Dict codes -*

{
  "ABCH": "abhidhanachintamani_hemachandra",
  "ACPH": "abhidhanachintamaniparishishta_hemachandra",
  "ACSJ": "abhidhanachintamanishiloncha_jinadeva",
  "ANKM": "anekarthakosha_mankha",
  "ANKS": "anekarthasamuchchaya_shashvata",
  "ANSH": "anekarthasangraha_hemachandra",
  "ARMH": "abhidhanaratnamala_halayudha",
  "ATMH": "anekarthatilaka_mahipa",
  "DKPD": "dvirupakosha_purushottamadeva",
  "DRSH": "dvirupadikosha_shriharsha",
  "EKPD": "ekaksharakosha_purushottamadeva",
  "ENSK": "ekaksharanamamala_sadhukalashagani",
  "HVPD": "haravali_purushottamadeva",
  "KNVP": "kriyanighantu_virapandya",
  "NDSG": "nanarthodayasagara_ghasilal",
  "NGSH": "nighantushesha_hemachandra",
  "NMMB": "namamalika_bhoja",
  "NMMD": "namamala_dhananjaya",
  "NNMR": "nanarthamanjari_raghava",
  "NRMI": "nanartharatnamala_irugapa",
  "NSAP": "nanarthasangraha_ajayapala",
  "NSMK": "nanarthashabdakosha_medinikara",
  "SBPM": "shabdabhedaprakasha_maheshvara",
  "SKGL": "shivakosha_ghasilal",
  "SRSG": "shabdaratnakara_sadhusundaragani",
  "SRSS": "shabdaratnasamanvaya_sahaji",
  "TSPD": "trikandashesha_purushottamadeva",
  "VJYP": "vaijayanti_yadavaprakasha",
  "VLSS": "vishvalochana_shridharasena",
  "VPRM": "vishvaprakasha_maheshvara"
}



-- 
Dr. Dhaval Patel, I.A.S
Collector and District Magistrate, Surat
www.sanskritworld.in


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://list.indology.info/pipermail/indology/attachments/20200121/57be3ef4/attachment.htm>


More information about the INDOLOGY mailing list