apertium/apertium-hbs

Name: apertium-hbs

Owner: Apertium

Description: Apertium linguistic data for Serbo-Croatian

Created: 2018-03-08 01:40:08.0

Updated: 2018-04-18 12:56:18.0

Pushed: 2018-04-18 12:56:16.0

Homepage: null

Size: 183002

Language: XML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Serbo-Croatian* (apertium-hbs)

This is an Apertium monolingual language package for Serbo-Croatian. What you can use this language package for:

Note: By Serbo-Croatian we mean Bosnian, Croatian and Serbian. The analyser supports both Ijekavian and Ekavian for analysis and generation.

Requirements

You will need the following software installed:

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

Compiling

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

configure
ke

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

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):

ke 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:

ho "Oti?la si bez pozdrava" | apertium -d . hbs-morph
?la/oti?i<vblex><perf><iv><lp><nt><pl>/oti?i<vblex><perf><iv><lp><f><sg>$ 
biti<vbser><clt><pres><p2><sg>/sebe<prn><ref><clt><pers><mfn><sp><dat>$ 
/bez<pr><gen>$ ^pozdrava/pozdrav<n><mi><sg><gen>/pozdrav<n><mi><pl><gen>$
<sent>$

ho "Oti?la si bez pozdrava" | apertium -d . hbs-supernew-cg-tagger
?i<vblex><perf><iv><lp><f><sg>$ ^biti<vbser><clt><pres><p2><sg>$ 
<pr><gen>$ ^pozdrav<n><mi><sg><gen>$^.<sent>$

Files and data

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.