Coder Social home page Coder Social logo

apertium-oci's Introduction

Occitan (apertium-oci)

This is an Apertium monolingual language package for Occitan. What you can use this language package for:

  • Morphological analysis of Occitan
  • Morphological generation of Occitan ** Generation of Aranese ** Generation of Gascon ** Generation of Lenguadocian
  • Part-of-speech tagging of Occitan

Requirements

You will need the following software installed:

  • lttoolbox (>= 3.3.0)
  • apertium (>= 3.3.0)
  • vislcg3 (>= 0.9.9.10297)

If this does not make any sense, we recommend you look at: apertium.org

Compiling

Given the requirements being installed, you should be able to just run:

$ ./configure
$ make

You can use ./autogen.sh instead of ./configure if you're compiling from SVN.

If you're doing development, you don't have to install the data, you can use it directly from this directory.

If you are installing this language package as a prerequisite for an Apertium translation pair, then do (typically as root / with sudo):

# make install

You can give a --prefix to ./configure to install as a non-root user, but make sure to use the same prefix when installing the translation pair and any other language packages.

Testing

If you are in the source directory after running make, the following commands should work:

$  echo "TODO: test sentence" | apertium -d . oci-morph
TODO: test analysis result
$ echo "TODO: test sentence" | apertium -d . oci-tagger
TODO: test tagger result

Files and data

  • apertium-oci.oci.dix - Monolingual dictionary
  • oci.prob - Tagger model
  • apertium-oci.oci.rlx - Constraint Grammar disambiguation rules
  • apertium-oci.post-oci.dix - Post-generator
  • modes.xml - Translation modes

For more information

Help and support

If you need help using this language pair or data, you can contact:

See also the file AUTHORS included in this distribution.

apertium-oci's People

Contributors

capsot avatar ftyers avatar hectoralos avatar mr-martian avatar snomos avatar sushain97 avatar tinodidriksen avatar unhammer avatar unuaiga-congres avatar xavivars avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apertium-oci's Issues

Installed modes are missing files

modes.xml includes some modes with install="yes", but the required
files aren't installed.

Some generic suggestions:

  • -lexc and -twol modes probably aren't useful to users

  • -spell modes should depend on --enable-ospell

  • .deps files are never installed, so any modes using them shouldn't be
    installed.

  • Messages for package app-dicts/apertium-oci-9999:

  • Failed to find '/usr/share/apertium/apertium-oci/oci.zhfst' in install image.

  • QA: missing files required for mode oci-spell.

  • Failed to find '/usr/share/apertium/apertium-oci/.deps/acceptor.default.hfst' in install image.

  • QA: missing files required for mode oci-tokenise.

texts/Makefile

The Makefile does not generate a proper prob-file. I do the following:
In apertium-oci:
cp texts/oci.unigram.prob oci.prob
In apertium-oci-fra

make
echo "pròva" | apertium -d . oci-fra

There isn't any answer to the last command.

Author "Apertium <capsot>"

One of the committers is simply Apertium <capsot>. That's not good enough.

I can rewrite the history to say the correct author Rata Penada <[email protected]> or something else, but @Capsot you must also correct your git config so future commits are not from an almost anonymous source.

And after I correct the history, everyone must re-clone the repo.

Install fails on apertium-oci.oci.dix

make install complains about missing apertium-oci.oci.dix. I can see there is a metadix instead, but dunno how this should be fixed.

/usr/bin/install -c -m 644 apertium-oci.oci.dix /build/apertium-oci-0.1.0+g309~8a3be180/debian/apertium-oci/usr/share/apertium/apertium-oci/
/usr/bin/install: cannot stat 'apertium-oci.oci.dix': No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.