.. _library_iso_639:

``iso_639``
===========

This library provides ISO 639 sets 1, 2, 3, and 5 lookups generated from
the Library of Congress and SIL maintenance-agency sources. It requires
Unicode support from the backend Prolog compiler.

The set 1 and set 2 data are generated from the Library of Congress ISO
639-2 code list. The set 3 data are generated from the SIL tab-delimited
code set download. The set 5 data are generated from the Library of
Congress ISO 639-5 identifier list.

The refresh tooling lives in ``library/iso_639/scripts/`` together with
the checked-in source snapshots used to regenerate the fact tables using
shell scripts only.

API documentation
-----------------

Open the
`../../apis/library_index.html#iso_639 <../../apis/library_index.html#iso_639>`__
link in a web browser.

Loading
-------

To load all entities in this library, load the ``loader.lgt`` file:

::

   | ?- logtalk_load(iso_639(loader)).

Testing
-------

To test this library predicates, load the ``tester.lgt`` file:

::

   | ?- logtalk_load(iso_639(tester)).
