Skip to main content

Align bitexts

Project description

# Bibliothèque d'alignement de textes dans des langues différentes

# Théorie

Le poster de présentation des méthodes implémentées dans cette bibliothèque est [ici](/doc/theory.pdf).

# Installer la bibliothèque

Lancez dans un terminal :
`sudo pip install ENPC-Aligner`

# Tester la bibliothèque

Lancez dans un terminal :
`align-example`

## Textes sources

* Bible
* fr : http://godieu.com/doc/telechargement.html (Bible Jean Frédéric Ostervald 1996)
* en : http://www.truth.info/download/bible.htm (King James Bible also known as the Authorised Version)
* Le petit prince
* fr : http://lepetitprinceexupery.free.fr/telecharger/le-petit-prince--antoine-de-saint-exupery.txt
* en : https://www.odaha.com/antoine-de-saint-exupery/maly-princ/the-little-prince

En 20 langues : http://www.malyksiaze.net/us/ksiazka

* Pinocchio :
* fr : https://www.ebooksgratuits.com/pdf/collodi_pinocchio.pdf
* en : http://www.gutenberg.org/files/500/500-0.txt

## Development

```
sudo pip install -e .
```
Cela créer un lien symbolique dans site-packages vers le répo pour que les modifications des sources prennent effet immédiatement.

## Publish to PyPi

Mettre dans ~/.pypirc
```
[distutils]
index-servers =
pypi

[pypi]
repository: https://pypi.python.org/pypi
username: <username>
password: <password>
```

Modifier le numéro de version dans *enpc_aligner/version.py* et lancer
```
python setup.py sdist upload -r pypi
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ENPC-Aligner-1.0.0.tar.gz (11.1 kB view details)

Uploaded Source

File details

Details for the file ENPC-Aligner-1.0.0.tar.gz.

File metadata

  • Download URL: ENPC-Aligner-1.0.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ENPC-Aligner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d9f44c43ebb2e6ebf35922b892acc527175f2dbef673888618d3d164ad71bd59
MD5 3f1a31692d1358057beb95d9f4bf109c
BLAKE2b-256 c8fdbf094080f37699183489a77546d2bb19490fff6d74f2c235cc572c7c8b3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page