README.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 21 Dec 2011 23:16:32 +0200
changeset 65 2137ea6bb456
parent 64 1174ea277aef
child 69 580cc720c496
permissions -rw-r--r--
Dictionary source file format.


==========================
 gadict dictionaries set.
==========================
.. contents::

How install/uninstall?
======================

To install in /usr/local/ run::

  $ make install

If you want install in different place run::

  $ make install prefix=PREFIX

If you install in nonstandard place and wont use dictionary for current user
run::

  $ make prefix=PREFIX install install-local-symlink

To uninstall run one command from list accordingly to installation procedure::

  $ make uninstall
  $ make uninstall prefix=PREFIX
  $ make prefix=PREFIX uninstall uninstall-local-symlink

Dictionary source file format.
==============================

For source file format used dictd C5 file format. See::

  $ man 1 dictfmt

Shortly:

 * Headwords preceded by 5 or more underscore characters ``_`` and a
   blank line.
 * All text until the next headword is considered the definition.
 * Any leading ``@`` characters are stripped out, but the file is
   otherwise unchanged.

For convenience also used such assumptions:

 * Headwords separated by ``;<SPACE>`` (and all was placed on single
   line).
 * UTF-8 encoding was used.
 * Lines started with ``#`` striped out (comment syntax).
 * First line with ``ABOUT:`` used as description of dictionary.
 * First URL (line with ``http://``) used as dictionary home page.

IPA chars.
==========

Hare list of spetial IPA chars (code present in UTF-8 encoding):

  θʃŋʧðʒæıʌʊɒɛəɑɜɔˌˈːˑṃṇḷ
  æɑɒʌәєŋvθðʃʒɚːɡˏˊˋ

You can copy/paste they in phonetic string.

TODO
----
::

            Front       Central     Back
         long  short long  short long  short
  Close   iː    ɪ                 uː    ʊ
  Mid           e     ɜː    ə     ɔː
  Open          æ           ʌ     ɑː    ɒ

      Diphthong          Triphthong
  Closing    Centring
   /eɪ/       /ɪə/        /aɪə/
   /aɪ/       /eə/        /ɑʊə/
   /ɔɪ/       /ʊə/
   /əʊ/
   /aʊ/

Old vs. new transcription.
--------------------------

From "Better English pronunciation."::

  Old  iː i e ɔː u uː ei ou ai au ɔi æ ɔ ʌ əː ɑː iə ɛə uə ə
  New  iː ɪ e ɔː ʊ uː eɪ əʊ aɪ aʊ ɔɪ æ ɒ ʌ ɜː ɑː ɪə eə ʊə ə

Also from wikipedia::

  Old  æ e əː ʌɪ ɑʊ ɛə
  New  a ɛ ɜː aɪ aʊ eə

Emacs.
------

For entering IPA chars use IPA input method. To enable it type::

  C-u C-\ ipa <enter>

All chars from alphabet typed as usual. How type special chars see below.

For vowel::

  æ ae
  ɑ o| (small letter o and ) or A (upper letter A)
  ɒ |o () or /A
  ʊ U (upper-letter-u)
  ɛ /3 (slash three)
  ɔ /c
  ə /e
  ʌ /v
  ɪ I

For consonant::

  θ th
  ð dh
  ʃ sh
  ʒ zh or 3
  ŋ ng

Special chars::

  ː : (semicolon)
  ˈ ' (quote)
  ˌ ` (back quote)