aboutsummaryrefslogtreecommitdiff
path: root/scm
AgeCommit message (Collapse)AuthorFiles
2018-09-17New utility to convert dictionary to freedict formatHEADmasterSergey Poznyakoff1
* scm/freedict.scm: New file.
2018-09-16Upgrade gintSergey Poznyakoff1
2015-01-10Switch to guile-www-2.38Sergey Poznyakoff3
* am/guile.m4: Remove. * Makefile.am (install-html): Fix generation of symlinks * configure.ac: Fall back to info prefix, if guile-config info bindir returns empty string. * data/db.struct: Minor change * data/pl/Makefile.am: Add missing silent rule markers * data/ru/Makefile.am: 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 Poznyakoff3
* .gitmodules: New file * gint: New module. * Makefile.am (ACLOCAL_AMFLAGS, SUBDIRS): Add gint * autogen.sh: Create a placeholder for ChangeLog. * configure.ac: Add gint. * scm/Makefile.am: Add silent rule magic. * src/cgi-bin/Makefile.am: Likewise. * src/ellinika/Makefile.am: Likewise. * xml/Makefile.am: 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/Makefile.am: Force UTF-8 locale when building html. Add silent rule magic. * xml/ru/Makefile.am: Likewise. * xml/uk/Makefile.am: Likewise.
2011-06-21Accept multiple suffixes.Sergey Poznyakoff1
* 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-20Minor stylistic change: use "stem" for \thema rhmatos.Sergey Poznyakoff1
2011-06-20Allow for alternative stems in a same tense.Sergey Poznyakoff1
* 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-19Conjugator: revamp handling of simple synthetic tenses (e.g. mellontas ↵Sergey Poznyakoff1
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-15Minor change:Sergey Poznyakoff1
* scm/verbop.scm: Use module syntax.
2011-06-14Improve SQL interface.Sergey Poznyakoff1
* 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-14Improve verb database structure for better handling of individual verbs.Sergey Poznyakoff1
* 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-12Move scm/conjugator.scm to src/ellinikaSergey Poznyakoff1
2011-06-12Update conjugator.Sergey Poznyakoff2
* 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 Poznyakoff1
* 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-11Fix syllabification.Sergey Poznyakoff6
* configure.ac: 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/lingua.conf.in (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 Poznyakoff4
* data/dbverb.struct: Remove individual verb definitions. * data/irregular-verbs.xml: New file. * scm/verbop.scm: New file. * scm/Makefile.am: 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
necessary.
2011-06-06Improve conjugatorSergey Poznyakoff1
* 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 Poznyakoff1
2011-06-05Fix memory corruption, improve conjugatorSergey Poznyakoff1
* 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-04Add gitignores.Sergey Poznyakoff1
2011-06-04Implement new morphological functions. Move elmorph to scm/ellinikaSergey Poznyakoff6
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@554 941c8c0f-9102-463b-b60b-cd22ce0e6858
2011-06-02Fix previous commitSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@553 941c8c0f-9102-463b-b60b-cd22ce0e6858
2011-06-02Intermediate commit.Sergey Poznyakoff6
* scm/mod.c: New file. * scm/elchr.h: New file. * scm/utf8.c: New file. * scm/elstr.c: New file. * scm/utf8.h: New file. * scm/Makefile.am (libelchr.la): New target. * configure.ac: Update. * data/db.struct: Define verb conjugational tables. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@552 941c8c0f-9102-463b-b60b-cd22ce0e6858
2010-03-09Update for newer Gamma.Sergey Poznyakoff2
* scm/dictrans.scm: Use Gamma 1.99 syntax. * scm/neatrans.scm: Likewise. * src/ellinika/dico.scm: Likewise. * src/cgi-bin/dict.scm4: Likewise. * src/cgi-bin/nea.scm4: Likewise. * src/ellinika/cgi.scm4 (sql-iface) (sql-host,sql-port,sql-database) (sql-username,sql-password): Remove reexports. (ellinika-sql-connection): New reexport. * src/ellinika/config.scm4 (sql-iface) (sql-host,sql-port,sql-database) (sql-username,sql-password): Remove variables. (ellinika-sql-connection): New variable. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@541 941c8c0f-9102-463b-b60b-cd22ce0e6858
2008-06-01* scm/dictrans.scm (insert-node): Fix inserts into links table.Sergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@510 941c8c0f-9102-463b-b60b-cd22ce0e6858
2008-06-01* scm/dictrans.scm: Allow to call without arguments if --cleanupSergey Poznyakoff1
option is given. * configure.ac (AC_CONFIG_FILES): Add data/pl/Makefile * data/*.xml: Move to data/ru * data/Makefile.am: Rewrite: * data/ru: New directory * data/pl: New directory * data/pl/Makefile.am: New file. * data/pl/setup.xml: New file. * data/pl/0.xml: New file. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@507 941c8c0f-9102-463b-b60b-cd22ce0e6858
2007-10-01Relicense under GPLv3+Sergey Poznyakoff3
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@479 941c8c0f-9102-463b-b60b-cd22ce0e6858
2007-09-30Flush .cvsignore filesSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@478 941c8c0f-9102-463b-b60b-cd22ce0e6858
2006-03-24UpdateSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@419 941c8c0f-9102-463b-b60b-cd22ce0e6858
2006-03-24Add neatrans.scmSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@414 941c8c0f-9102-463b-b60b-cd22ce0e6858
2006-03-24AddSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@409 941c8c0f-9102-463b-b60b-cd22ce0e6858
2006-03-18Update to match new db structureSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@370 941c8c0f-9102-463b-b60b-cd22ce0e6858
2006-03-17(DICT): Mandatory attribute LANG.Sergey Poznyakoff1
(update-stat): Rewrite to match new table structure. (check-node,insert-node): Take destination language code as 3rd argument. All callers changed. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@363 941c8c0f-9102-463b-b60b-cd22ce0e6858
2005-03-29Set utf8 mode (for mysql >= 4.1.10)Sergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@320 941c8c0f-9102-463b-b60b-cd22ce0e6858
2005-02-13(current-article-set): Handle case when p-article is #f, i.e. after <P ↵Sergey Poznyakoff1
ID="">..</P>. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@304 941c8c0f-9102-463b-b60b-cd22ce0e6858
2005-02-09(insert-categories): New function. FillsSergey Poznyakoff1
category table. (CLASS,D,TD): New tags (check-node): Bail out if the topic is not declared. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@293 941c8c0f-9102-463b-b60b-cd22ce0e6858
2005-02-09Replace AUTOGENERATED variableSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@287 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-14(cleanup-db): Cleanup locus tableSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@243 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-13#:topic was handled incorrectly. Improved --help outputSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@238 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-13Added INCLUDE support.Sergey Poznyakoff1
Diagnose duplicate entries. Fixed bug in NODE. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@234 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-12Exit if --check was givenSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@227 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-12Improve compatibility with dict.cgiSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@226 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-12(dictrans.sed): Replace =SYSCONFDIR=Sergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@225 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-12UpdatedSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@219 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-12(dictrans.sed): Updated ruleSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@218 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-12Use (gamma sql)Sergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@214 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-08Fixed generation of dictrans.sedSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@207 941c8c0f-9102-463b-b60b-cd22ce0e6858
2004-10-08UpdatedSergey Poznyakoff1
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@206 941c8c0f-9102-463b-b60b-cd22ce0e6858

Return to:

Send suggestions and report system problems to the System administrator.