Commit 7fcbf796 authored by Gérard Huet's avatar Gérard Huet

Goldendict format now distributed from Inria site, goldendict_entry_page adapted

parent c404754c
......@@ -322,8 +322,8 @@ clean:
rm -f *.cmo *.cmi *.cmx *.ppi *.ppo *.o
rm -f css indexer indexerd sandhier reader parser tagger lemmatizer \
declension conjugation mk_index_page mk_grammar_page mk_reader_page regression \
mk_sandhi_page sandhi_test \
reset_caches parse_apte tag_apte interface user_aid
mk_sandhi_page sandhi_test reader_plugin reset_caches interface user_aid \
parse_apte tag_apte
# make dico.cmi auto.cmi conj_infos.cmi # needed to get dependencies right
.SUFFIXES: .ml .mli .cmx .cmo .cmi
......
......@@ -8,4 +8,4 @@
(**************************************************************************)
(* Generated by make version - see main Makefile *)
value version="2.99" and version_date="2017-05-08";
value version="2.99" and version_date="2017-05-11";
......@@ -591,7 +591,7 @@ value print_bandeau_enpied_dyn dyn lang color = do
; ps table_end
; ps td_end
; pl td_begin
; pl (inria_inside dyn) (* ; [html_valid dyn] *)
; pl (inria_inside dyn)
; ps html_break
; ps td_end
; ps tr_end
......
This diff is collapsed.
......@@ -274,13 +274,13 @@ FAQPAGES=$(FAQPAGE_FR) $(FAQPAGE_EN)
MANUAL=SITE/manual.html
ROBOTS=SITE/robots.txt # currently disabled to allow Google access
GOLD=SITE/gold.html
# Goldendict data banks
# Goldendict data banks - now distributed from sanskrit.inria.fr
GOLDENDICT=SITE/Heritage_du_sanskrit_san-fra.tar.gz SITE/Declension-heritage_du_sanskrit_san-eng.tar.gz SITE/Grammar-heritage_du_sanskrit_san-eng.tar.gz SITE/mw-heritage_du_sanskrit_san-eng.tar.gz
XMLPAGE=SITE/xml.html # at installation time moved to DATA/XML
# OBS XMLPAGE=SITE/xml.html # at installation time moved to DATA/XML
WEBSOURCES=SITE/portal.html SITE/faq.html SITE/abrevs.pdf $(GOLD) SITE/goldendict.html $(MANUAL) # $(ROBOTS)
#ZENSITESOURCE=SITE/ZEN/index.html
ALLWEBSOURCES=$(SITESOURCE) $(WEBSOURCES) $(XMLPAGE) # $(ZENSITESOURCE)
ALLWEBSOURCES=$(SITESOURCE) $(WEBSOURCES) # $(XMLPAGE) $(ZENSITESOURCE)
# Sources of morphology documents
XMLDATA=$(DATA)/XML
DATASOURCE=$(DATA)/titn.tex $(DATA)/titpn.tex $(DATA)/titr.tex $(DATA)/titp.tex \
......@@ -338,6 +338,9 @@ CACHES=cache.txt cache.rem minica.rem transca.rem
# Linguistic resources: Sanskrit morphology documents
PDF_MORPHOLOGY=$(DATA)/nouns.pdf $(DATA)/roots.pdf $(DATA)/parts.pdf \
$(DATA)/indecls.pdf $(DATA)/final.pdf # enormous, useless
SL_XML_MORPHOLOGY=$(XMLDATA)/SL_morph.tar.gz
WX_XML_MORPHOLOGY=$(XMLDATA)/WX_morph.tar.gz
XML_DTD=$(XMLDATA)/SL_morph.dtd $(XMLDATA)/WX_morph.dtd
......@@ -355,7 +358,7 @@ all: ZEN
test -e $(DATA) && echo "Heritage_Resources detected" && exit 0 \
|| echo "You should first install Heritage_Resources at $(DATA)" && exit 1
cd ZEN && $(MAKE) all
cp -Rp $(HERITAGE) . # local copy of DICO with up-to-date resources
cp -Rp $(HERITAGE) . # local copy of DICO from Resources/DICO
cp -Rp $(MW) . # local copy of MW
# cd ML && $(MAKE) depend # reset dependencies (might be partial subset)
cd ML && $(MAKE) test_version
......@@ -456,7 +459,9 @@ Makefile: SETUP/MMakefile
web_services: # Will write localized site pages in DICO and export cgis
cd ML && $(MAKE) cgis site_pages
release: $(DICO) web_services releasecgi releaseMW releasedata releasedoc
release: $(DICO) web_services releasecgi releaseMW releasedata releasedoc \
releasebook releasexml
# releasepdf disabled at present as bulky and un-finished
echo "Version $(VERSION) of Sanskrit site released on $(SERVERHOST)"
......@@ -498,6 +503,17 @@ rm temp ); done
BOOKPRINTS=$(BOOK)/Heritage.pdf $(BOOK)/abrevs.pdf
releasebook:
cp $(BOOKPRINTS) $(SERVERPUBLICDIR)
releasexml: # Sanskrit morphology in xml copied from Resources to Server
mkdir -p $(SERVERPUBLICDIR)$(DATA)/XML
cp $(XML_MORPHOLOGY) $(SERVERPUBLICDIR)$(DATA)/XML
#OBS cp $(XMLPAGE) $(SERVERPUBLICDIR)$(DATA)/XML/index.html
releasepdf: pdfmorphology # very big - useless
cp $(PDF_MORPHOLOGY) $(SERVERPUBLICDIR)$(DATA)
releaseMW:
cp -Rp $(MW) $(SERVERPUBLICDIR) # MW pages linked to decl/conjug cgis
......
VERSION='2.99'
DATE='2017-05-08'
DATE='2017-05-11'
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html>
<head>
<meta charset="utf-8"/>
<meta charset="utf-8">
<title>Golden Sanskrit Heritage Dictionary</title>
<meta name="author" content="G&#233;rard Huet" />
<meta name="copyright" content="&copy; 2016 G&#233;rard Huet" />
<meta name="author" content="Gérard Huet">
<meta property="dc:datecopyrighted" content="2017">
<meta property="dc:rightsholder" content="Gérard Huet">
<meta name ="keywords" content="india,dictionary,indology,sanskrit,lexicography,linguistics,indo-european,dictionnaire,sanscrit,panini,indology,linguistics" />
<meta name ="date" content="2016-02-06" />
<meta name="classification" content="computational linguistics, sanskrit, morphology, lexicography, indology" />
......@@ -40,7 +41,7 @@ and run on most computer platforms, tablets and smartphone devices.
Many thanks to <a href="http://www.thubtenrigzin.fr">Thubtenrigzin</a>,
who managed to convert the HTML version of the Sanskrit Heritage dictionary
to the Babylon (gls) format,
preserving hyperlinks and devan&#257;gar&#299; display.
preserving hyperlinks and devanāgarī display.
This format may be translated further into the formats dict.dz, idx, ifo and syn
usable by the Babyloo, Stardict or Goldendict software.
......@@ -50,19 +51,19 @@ usable by the Babyloo, Stardict or Goldendict software.
<h2 class="b2">Download instructions</h2>
A gz-compressed <a href="Heritage_du_sanskrit_san-fra.tar.gz">tar archive 1</a>
A gz-compressed <a href="http://sanskrit.inria.fr/Heritage_du_sanskrit_san-fra.tar.gz">tar archive 1</a>
contains the dictionary files, to install at your dictionary resources
directory.
Another (91Mb) <a href="Declension-heritage_du_sanskrit_san-eng.tar.gz">tar
Another (91Mb) <a href="http://sanskrit.inria.fr/Declension-heritage_du_sanskrit_san-eng.tar.gz">tar
archive 2</a> contains the inflected forms with their declension tables,
linked to the dictionary.
A third <a href="Grammar-heritage_du_sanskrit_san-eng.tar.gz">tar
A third <a href="http://sanskrit.inria.fr/Grammar-heritage_du_sanskrit_san-eng.tar.gz">tar
archive 3</a> contains grammatical links.
Finally, <a href="mw-heritage_du_sanskrit_san-eng.tar.gz">tar
Finally, <a href="http://sanskrit.inria.fr/mw-heritage_du_sanskrit_san-eng.tar.gz">tar
archive 4</a> contains the Monier-Williams dictionary consistent with our site.
These resources correspond to Version 2.99 [2017-05-08] of the Heritage site.
Check this page for regular updates.
These resources correspond to Version 2.83 [2014-06-28] of the Heritage site.
Check the <a href="http://sanskrit.inria.fr/goldendict.html">distribution page</a> for updates.
These dictionary resources are usable under the conditions of the
Creative Commons license:
......@@ -80,7 +81,7 @@ src="http://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />
<h2 class="b2">Help</h2>
Questions concerning these resources should be addressed to
<a href="mailto:Gerard.Huet@inria.fr">G&eacute;rard Huet</a>.
<a href="mailto:Gerard.Huet@inria.fr">Gérard Huet</a>.
</td></tr>
</table>
</div>
......@@ -102,7 +103,7 @@ Questions concerning these resources should be addressed to
<a href="faq.en.html"><strong>Help</strong></a> |
<a href="portal.en.html"><strong>Portal</strong></a>
</td></tr><tr><td>
<tr><td>&#169; G&#233;rard Huet 1994-2016</td></tr></table></td><td>
<tr><td>© Gérard Huet 1994-2017</td></tr></table></td><td>
<a href="http://www.inria.fr/">
<img src="IMAGES/logo_inria.png" alt="Logo Inria" height="50px" /></a>
<br /></td></tr></table></div>
......
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html>
<head>
<meta charset="utf-8"/>
<meta charset="utf-8">
<title>Golden Sanskrit Heritage Dictionary</title>
<meta name="author" content="G&#233;rard Huet" />
<meta name="copyright" content="&copy; 2016 G&#233;rard Huet" />
<meta name="author" content="Gérard Huet">
<meta property="dc:datecopyrighted" content="2017">
<meta property="dc:rightsholder" content="Gérard Huet">
<meta name ="keywords" content="india,dictionary,indology,sanskrit,lexicography,linguistics,indo-european,dictionnaire,sanscrit,panini,indology,linguistics" />
<meta name ="date" content="2016-02-06" />
<meta name="classification" content="computational linguistics, sanskrit, morphology, lexicography, indology" />
......@@ -40,7 +41,7 @@ and run on most computer platforms, tablets and smartphone devices.
Many thanks to <a href="http://www.thubtenrigzin.fr">Thubtenrigzin</a>,
who managed to convert the HTML version of the Sanskrit Heritage dictionary
to the Babylon (gls) format,
preserving hyperlinks and devan&#257;gar&#299; display.
preserving hyperlinks and devanāgarī display.
This format may be translated further into the formats dict.dz, idx, ifo and syn
usable by the Babyloo, Stardict or Goldendict software.
......@@ -50,19 +51,19 @@ usable by the Babyloo, Stardict or Goldendict software.
<h2 class="b2">Download instructions</h2>
A gz-compressed <a href="Heritage_du_sanskrit_san-fra.tar.gz">tar archive 1</a>
A gz-compressed <a href="http://sanskrit.inria.fr/Heritage_du_sanskrit_san-fra.tar.gz">tar archive 1</a>
contains the dictionary files, to install at your dictionary resources
directory.
Another (91Mb) <a href="Declension-heritage_du_sanskrit_san-eng.tar.gz">tar
Another (91Mb) <a href="http://sanskrit.inria.fr/Declension-heritage_du_sanskrit_san-eng.tar.gz">tar
archive 2</a> contains the inflected forms with their declension tables,
linked to the dictionary.
A third <a href="Grammar-heritage_du_sanskrit_san-eng.tar.gz">tar
A third <a href="http://sanskrit.inria.fr/Grammar-heritage_du_sanskrit_san-eng.tar.gz">tar
archive 3</a> contains grammatical links.
Finally, <a href="mw-heritage_du_sanskrit_san-eng.tar.gz">tar
Finally, <a href="http://sanskrit.inria.fr/mw-heritage_du_sanskrit_san-eng.tar.gz">tar
archive 4</a> contains the Monier-Williams dictionary consistent with our site.
These resources correspond to Version #VERSION [#DATE] of the Heritage site.
Check this page for regular updates.
These resources correspond to Version 2.83 [2014-06-28] of the Heritage site.
Check the <a href="http://sanskrit.inria.fr/goldendict.html">distribution page</a> for updates.
These dictionary resources are usable under the conditions of the
Creative Commons license:
......@@ -80,7 +81,7 @@ src="http://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />
<h2 class="b2">Help</h2>
Questions concerning these resources should be addressed to
<a href="mailto:Gerard.Huet@inria.fr">G&eacute;rard Huet</a>.
<a href="mailto:Gerard.Huet@inria.fr">Gérard Huet</a>.
</td></tr>
</table>
</div>
......@@ -102,7 +103,7 @@ Questions concerning these resources should be addressed to
<a href="faq.en.html"><strong>Help</strong></a> |
<a href="portal.en.html"><strong>Portal</strong></a>
</td></tr><tr><td>
<tr><td>&#169; G&#233;rard Huet 1994-2016</td></tr></table></td><td>
<tr><td>© Gérard Huet 1994-2017</td></tr></table></td><td>
<a href="http://www.inria.fr/">
<img src="IMAGES/logo_inria.png" alt="Logo Inria" height="50px" /></a>
<br /></td></tr></table></div>
......
......@@ -5,9 +5,9 @@
<title>Sanskrit Linguistic Resources</title>
<meta name="author" content="G&#233;rard Huet">
<meta name="copyright" content="&copy; 2016 G&#233;rard Huet">
<meta name="copyright" content="&copy; 2017 G&#233;rard Huet">
<meta name ="keywords" content="india,dictionary,indology,sanskrit,lexicography,linguistics,indo-european,dictionnaire,sanscrit,panini,indology,linguistics">
<meta name ="date" content="2017-04-12">
<meta name ="date" content="2017-05-12">
<meta name="classification" content="computational linguistics, sanskrit, morphology, lexicography, indology">
<meta name="description" content="This page is for downloading Sanskrit resources.">
<link rel="shortcut icon" href="../../IMAGES/favicon.ico">
......
......@@ -25,7 +25,7 @@ makefile_keys=["TEMPLATE","PLATFORM","TRANSLIT","LEXICON","DISPLAY","WARN",
"SERVERHOST","REMOTESERVERHOST","EXTERNALSERVERHOST","EXTERNALINVOCATION",
"SERVERPUBLICDIR","SKTDIRURL","CGIBINURL","CGIDIR","CGIEXT","MOUSEACTION",
"SCLURL","SCLINSTALLDIR","TEMPAREA","OUTPUTFONT","SKTRESOURCES"]
counter_keys=["COUNTER","ZEN","PORTAL"]
counter_keys=["COUNTER","ZEN","RESOURCES","PORTAL"]
version_keys=["VERSION","DATE"]
TEMPLATE='#'
WARN='# WARNING - Produced from MMakefile by configure - Do not edit manually'
......@@ -132,7 +132,7 @@ def generate(config_path):
portal_page_fr.close()
print portal_page_fr_path, "(fr) generated"
# XML
# XML - obsolete, now managed by Resources
xml_entry_page = open(xml_entry_page_path,'r')
xml_entry_page_content = xml_entry_page.read()
xml_entry_page.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment