AgeCommit message (Collapse)AuthorFiles
2015-01-10Switch to guile-www-2.38Sergey Poznyakoff16
* am/guile.m4: Remove. * (install-html): Fix generation of symlinks * Fall back to info prefix, if guile-config info bindir returns empty string. * data/db.struct: Minor change * data/pl/ Add missing silent rule markers * data/ru/ Likewise. * scm/dictrans.scm: Call setlocale. * scm/neatrans.scm: Likewise. * scm/verbop.scm: Likewise. * src/cgi-bin/conj.scm4: Call setlocale. Use cgi:value-u8 instead of cgi:value-u8. * src/cgi-bin/dict.scm4: Likewise. * src/cgi-bin/nea.scm4: Likewise. * src/ellinika/cgi.scm4 (cgi-script-name) (cgi-server-hostname,cgi-server-protocol-name) (cgi-server-protocol-version): Define in CGI mode. (cgi:value-u8): New public function. * src/ellinika/i18n.scm: Conditionally use syncase.
2015-01-06Update for Guile 2.0Sergey Poznyakoff17
* .gitmodules: New file * gint: New module. * (ACLOCAL_AMFLAGS, SUBDIRS): Add gint * Create a placeholder for ChangeLog. * Add gint. * scm/ Add silent rule magic. * src/cgi-bin/ Likewise. * src/ellinika/ Likewise. * xml/ Likewise. * scm/dictrans.scm: Load (ice-9 syncase) only for Guile 1.x * scm/neatrans.scm: Likewise. * src/ellinika/conjugator.scm: Likewise. * src/ellinika/elmorph.c (elstr)<phoneme_count,nsyl>: Change type to size_t. * xml/pl/ Force UTF-8 locale when building html. Add silent rule magic. * xml/ru/ Likewise. * xml/uk/ Likewise.
2015-01-06Minor changesSergey Poznyakoff5
* Use silent rule markers * Enable silent rules, add Emacs magic for AC_REVISION * htdig: Remove.
2015-01-06Build ChangeLog.Sergey Poznyakoff2
* (ChangeLog): New goal. * git2chg.awk: New file (from grecs).
2015-01-06Fix typosSergey Poznyakoff2
2014-05-08Use Sphinx for searches.Sergey Poznyakoff9
* sphinx/index.php: New file. * sphinx/xmlindex: New file. * xml/ Use own search instead of Google. (install-srch): New macro. * xml/pl/ellinika.xml: Call (install-srch). Build search page template. * xml/ru/ellinika.xml: Likewise. * xml/uk/ellinika.xml: Likewise. * po/pl.po: Update. * po/ru.po: Update. * po/uk.po: Update.
2013-07-24Fix typo.Sergey Poznyakoff1
2011-07-03Add conjugations samples.Sergey Poznyakoff42
2011-07-03Various fixesSergey Poznyakoff1
2011-06-21Accept multiple suffixes.Sergey Poznyakoff4
* data/irregular-verbs.xml: Update. * scm/verbop.scm: Allow for multiple suffixes. * src/ellinika/conjugator.scm: Accept multiple suffixes. Fix accent settings. * src/cgi-bin/conj.scm4: Minor changes.
2011-06-20Improvements in conjugator.Sergey Poznyakoff3
* src/ellinika/conjugator.scm: Correctly handle alternative stems * data/irregular-verbs.xml: Add alternative stems for erxomai. in perfective compound tenses.
2011-06-20Minor stylistic change: use "stem" for \thema rhmatos.Sergey Poznyakoff6
2011-06-20Allow for alternative stems in a same tense.Sergey Poznyakoff5
* data/irregular-verbs.xml: Add alternative passive aorist stem for "lev". * scm/verbop.scm (conjugation-set): When setting #:root, keep a list of alternative stems. (flush-mood): Update for changes in #:root storage. * src/cgi-bin/conj.scm4 (show-best-matches): If only one match is produced, show it immediately. * src/ellinika/conjugator.scm: Allow for multiple stems. * src/ellinika/sql.scm (->string): Bugfix.
2011-06-20libelmorph: Bugfixes.Sergey Poznyakoff2
* src/ellinika/elmorph.c (elstr->phonetic-map): Remove invalid free * src/ellinika/syllabificator.c (NEXT_PHONEME): New macro. (next_syllable): Now static. Uses NEXT_PHONEME to iterate over phonemes.
2011-06-20Improve coupling between dict and conj.Sergey Poznyakoff8
* po/pl.po: Update * src/cgi-bin/conj.scm4: Use cgi-program-name to generate references to dict. * src/cgi-bin/dict.scm4: Add a reference to conjugator (for verbs). * src/ellinika/ Define SCRIP_SUFFIX * src/ellinika/cgi.scm4 (cgi-program-name): New function. * style.css: Update.
2011-06-19Conjugator: bugfixSergey Poznyakoff3
* data/irregular-verbs.xml: Update. * src/ellinika/conjugator.scm (conjugate): Create a copy of vinfo prior to complementing it to avoid side effects on subsequent iterations.
2011-06-19Conjugator: revamp handling of simple synthetic tenses (e.g. mellontas ↵Sergey Poznyakoff4
diarkeias). * data/dbverb.struct: Rewrite definitions of simple compound tenses. * data/irregular-verbs.xml: Update. * scm/verbop.scm (prop): New tag. (p): New attribute "prop". * src/ellinika/conjugator.scm (apply-flect): Use "flection" property, if defined. (conjugate): Handle simple synthetic tenses.
2011-06-18conj.cgi: Further improvements.Sergey Poznyakoff5
* data/pl/0.xml: Update. * src/cgi-bin/ (dict.m4): Define SCRIPT_SUFFIX * src/cgi-bin/conj.scm4 (class-attested?): New function. (show-conjugation): Print a translation, if available. Provide a link to dict.cgi. If conjugation class is not attested, issue a prominent warning. * style.css (div.unattested): New class.
2011-06-18Improve conj.Sergey Poznyakoff10
* data/dbverb.struct: Use utf8_bin collation for the `verb' column in all tables. * data/irregular-verbs.xml: Update. * po/ Add conj.scm4. * po/pl.po: Update. * src/cgi-bin/conj.scm4: Try to fix some common input errors. Look up the verb in the dictionary. If there are no tones in the input word, look it up in the dictionary using the "soundslike" method. * style.css: Add h2.verb class.
2011-06-18Minor changes.Sergey Poznyakoff5
* src/cgi-bin/conj.scm: Fix a typo. * style.css: Add content-inner class. Limit width of the text. (li New class. * xml/pl/ellinika.xml: Require at least commit 149 of lingua. * xml/uk/ellinika.xml: Likewise. * xml/ru/ellinika.xml: Likewise.
2011-06-16Update VCS references in generated pages.Sergey Poznyakoff12
2011-06-16Various improvements.Sergey Poznyakoff8
* src/cgi-bin/conj.scm4: Expect argument names in lower case. * src/cgi-bin/dict.scm4: Likewise. * src/cgi-bin/nea.scm4: Likewise. * src/ellinika/cgi.scm4: Likewise. * xml/ Pass lang argument to CGIs in lower case. * xml/pl/ellinika.xml: Add PREREQ LINGUA attribute. * xml/ru/ellinika.xml: Likewise. * xml/uk/ellinika.xml: Likewise. * .htaccess: Downcase CGI argument names.
2011-06-15Remove unnecessary debugging output.Sergey Poznyakoff1
2011-06-15Minor changesSergey Poznyakoff3
* src/cgi-bin/conj.scm4: Mark unattested stems and verb classes. * src/ellinika/conjugator.scm (conjugate): Fix empty conjugation return. * xml/pl/rhmata.xml: Update.
2011-06-15Improve error handling in conj.Sergey Poznyakoff5
* src/cgi-bin/conj.scm4: Add error handling. * src/ellinika/conjugator.scm: Throw 'conjugator-error instead of calling (error). * src/ellinika/elmorph.c: Use ~A in error messages when referring to elstrs. Guile's ~S sucks on UTF-8. * src/ellinika/utf8scm.c: Likewise. * style.css (.error): Output in red.
2011-06-15BugfixSergey Poznyakoff1
* src/ellinika/syllabificator.c (next_syllable): Fix coredump on final iota.
2011-06-15Improve template file names (requires Xmltoos commit 144).Sergey Poznyakoff2
* src/cgi-bin/conj.scm4: Use unnumbered template file name. * xml/pl/rhmata.xml: Use unnumbered mode for conj.cgi
2011-06-15Minor change in conj.Sergey Poznyakoff2
* src/cgi-bin/conj.scm4: Use ellinika:translate-kbd * src/ellinika/tests/xlat-kbd.scm: New file.
2011-06-15Implement web conjugator.Sergey Poznyakoff13
* src/cgi-bin/.gitignore: Update. * src/cgi-bin/ Build conj,cgi * src/cgi-bin/conj.scm4: New file. * src/cgi-bin/dict.scm4 (protect): Move to cgi.scm, function cgi-protect-quotes. All uses updated. * src/ellinika/cgi.scm4 (cgi-protect-quotes): New function. * src/ellinika/ (guile_DATA): Add conjugator.scm * src/ellinika/conjugator.scm: Minor fixes. * src/ellinika/sql.scm (->string): Fix typo. * src/ellinika/tenses.scm (ellinika-conjugation-term-transtab): New var. (ellinika-conjugation-term): New function. * src/ellinika/test-conjugation.scm: Use ellinika-conjugation-term instead of (term). * xml/ (install-conj): New macro. * xml/pl/ellinika.xml (GUILE): Call install-conj. * xml/pl/rhmata.xml: Define conjugator template page.
2011-06-14Minor change:Sergey Poznyakoff1
* scm/verbop.scm: Use module syntax.
2011-06-14Use (ellinika sql) in dict and nea.Sergey Poznyakoff3
* src/cgi-bin/dict.scm4: Use (ellinika sql) * src/cgi-bin/nea.scm4: Likewise * src/ellinika/sql.scm: Re-export sql-catch-failure and sql-ignore-failure.
2011-06-14Improve SQL interface.Sergey Poznyakoff7
* src/ellinika/sql.scm (ellinika:sql-verbose) (ellinika:sql-dry-run,ellinika:sql-conn): New public vars. (ellinika:format-sql-query): New function. (ellinika:sql-query): Rewrite. * scm/verbop.scm: Use (ellinika sql). * src/ellinika/conjugator.scm: Likewise. * src/ellinika/test-conjugation.scm: Likewise. * data/irregular-verbs.xml: Update. * src/ellinika/tests/conj/apomenv.scm: New file.
2011-06-13Implement escape function.Sergey Poznyakoff7
2011-06-13Improve verb database structure for better handling of individual verbs.Sergey Poznyakoff7
* data/dbverb.struct (verbflect): Split alternative flections into separate groups. (conjugation): Set fold values for imp. Add missing accmaps (verb): Drop table. (verbclass,verbtense): New tables. * data/irregular-verbs.xml: Update. * scm/verbop.scm: Rewrite for the new database structure. * src/ellinika/conjugator.scm: Likewise. * src/ellinika/tests/conj/ntynv.scm: Fix typo. * src/ellinika/tests/conj/bastv.scm: New file. * src/ellinika/tests/conj/kauomai.scm: New file.
2011-06-13BugfixSergey Poznyakoff1
2011-06-12Add tests.Sergey Poznyakoff45
2011-06-12Convert src/ellinika/conjugator.scm to module.Sergey Poznyakoff1
2011-06-11Move scm/conjugator.scm to src/ellinikaSergey Poznyakoff1
2011-06-11Update conjugator.Sergey Poznyakoff4
* data/dbverb.struct (conjugation) <fold>: New member. Everything updated. (verb) <suffix_aor_path>: Rename to suffix. * data/irregular-verbs.xml: Update. * scm/conjugator.scm: Rewrite to accept different variants of conjugation.
2011-06-11Fixes in conjugatorSergey Poznyakoff6
* data/dbverb.struct: Expand conj to char(32). Fix several bugs in conjugation table. Introduce a new pseudo-conjugation A-depon, for verba deponentia. * data/irregular-verbs.xml: Update. * scm/conjugator.scm (complement-verb-info): Handle A-depon. (apply-flect): Don't try to set accent outside of a word, even if so required by accmap. (conjugate): For synthetic tenses, look up for aoristoy ypotaktikis of the same voice as the requested tense. Use accmap to decide whether a particular person exists in that tense. Fixes in syllabificator. * src/ellinika/elmorph.c (_elstr_set_accent): Fix setting accents on diphthongs. (deftab) <elmorph:iota>: New flag. * src/ellinika/elmorph.h (CHF_IOTA): New flag. * src/ellinika/syllabificator.c (SYL_FLAG_MASK): Add more bits. (next_syllable): Mark syllables with iota with CHF_DIPHTHONG|CHF_IOTA.
2011-06-10Fix syllabification.Sergey Poznyakoff24
* Add AC_PROG_YACC * src/ellinika/phoneme.y: New file. * src/ellinika/yyrename: New file. * src/ellinika/syllabificator.c: New file. * src/ellinika/.gitignore: Update. * src/ellinika/elchr.c (char_info_st): Move to header. (el_basic_ctype): (elchr_info): Remove static qualifier. Return a pointer to const. (elchr_letter,elchr_phoneme): New functions. (elchr_diphthong): Remove. * src/ellinika/elmorph.c (elstr)<phoneme,phoneme_count>: New members. (_elstr_syllabize): Rewrite. (invalidate_maps)" New static function. (_elstr_alloc): Initialize new fields, take function name as argument, for diagnostic purposes. (_elstr_print): Rewrite (deftab): Update. (elstr-syllable-prop,elstr-syllable) (_elstr_set_accent,_elstr_set_accent_on_char): Rewrite. (elstr-char-phoneme,elstr->phonetic-map): New functions. * src/ellinika/elmorph.h (CHF_DIPH1,CHF_DIPH2): Remove. (CHF_DIPHTHONG): New flag. (PHON_.*): New constants. (phoneme,syllable): New structures. (char_info_st)<letter,phoneme>: New members. (elchr_info,elchr_letter) (elchr_phoneme,phoneme_map) (syllable_map): New protos. (elchr_diphthong): Remove protos. * src/ellinika/elmorph.scm4: Move public definitions to elmorph-public.scm; include it here. * src/ellinika/xlat.scm (ellinika:sounds-like): Rewrite as a wrapper over elstr->soundslike. Describe Milesian numbers. * style.css (img.ellinika-img): New class. * xml/ (IMAGE): New tag. * xml/pl/alfabhta.xml: Describe Milesian numbers. Various fixes. * data/dbverb.struct: fix a typo in flection. Use 'sub' theme for pas/sub/aor. * data/irregular-verbs.xml: Add more verbs. * scm/conjugator.scm: Various fixes. * scm/verbop.scm: Accept empty mood and voice declarations.
2011-06-07Improve conjugatorSergey Poznyakoff7
* data/dbverb.struct: Remove individual verb definitions. * data/irregular-verbs.xml: New file. * scm/verbop.scm: New file. * scm/ Add rules for verbop. * scm/conjugator.scm: Various fixes. * src/ellinika/elmorph.c (elstr-accent-position): Fix handling of string arguments. (_elstr_set_accent): Fix error message. (elstr-set-accent-character) (elstr-set-accent-character!): New functions.
2011-06-06* scm/conjugator.scm: Remove calls to force-elstr, unless absolutelySergey Poznyakoff1
2011-06-06Rewrite all elstr- functions to take either elstr or string as arguments.Sergey Poznyakoff3
2011-06-06Improve conjugatorSergey Poznyakoff6
* data/db.struct: Update. * data/dbverb.struct: New file. * scm/conjugator.scm: Conjugate passive voice. * src/ellinika/elmorph.c (elstr-char-prop-bitmask): Accept negative positions. * xml/pl/rhmata.xml: Make verb suffixes prominent. * xml/ru/rhmata.xml: Likewise.
2011-06-05Introduce support for individual verbs.Sergey Poznyakoff2
2011-06-05Fix memory corruption, improve conjugatorSergey Poznyakoff3
* data/db.struct: Revamp conjugation support tables. * scm/conjugator.scm: Improve irregular conjugation support. * src/ellinika/elmorph.c (_elstr_syllabize): Use calloc. Fix memory corruption. (_elstr_dup): Don't allocate new sylmap if the source one is NULL. (_elstr_free): Call scm_gc_free on elstr.
2011-06-05Add test version of verb conjugator.Sergey Poznyakoff1
* db.struct: Update. * src/ellinika/elmorph.c (_elstr_syllabize): If there is no accented syllable, set acc_syl to 0. * scm/conjugator.scm: New file.
2011-06-04Bugfixes.Sergey Poznyakoff3
* data/db.struct (verb): Minor fix. * src/ellinika/elchr.c: Fix base of lower case epsilon. * src/ellinika/elmorph.c (_elstr_alloc_empty): New function. (_elstr_alloc): Take additional argument. All uses changed. (_elstr_concat): New function. (_elstr_print): Correctly print objects with NULL sylmap. (elstr?): New function. (elstr-append): New function.
2011-06-04Restore graphics files botched by the prior VCS.Sergey Poznyakoff21
Some other minor changes.

Return to:

Send suggestions and report system problems to the System administrator.