# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                pialign
version             0.2.5
categories          textproc
maintainers         nomaintainer

description         Phrasal ITG Aligner

long_description    pialign is a package that allows you to create a phrase \
                    table and word alignments from an unaligned parallel \
                    corpus. It is unlike other unsupervised word alignment \
                    tools in that it is able to create a phrase table using \
                    a fully statistical model, no heuristics. As a result, it \
                    is able to build phrase tables for phrase-based machine \
                    translation that achieve competitive results but are only \
                    a fraction of the size of those created with heuristic \
                    methods.

homepage            https://www.phontron.com/pialign/
license             CPL-1

master_sites        ${homepage}download/
checksums           rmd160  800d6e015c0516693d027dabf16e89554f23a473 \
                    sha256  e15e160ed80ff76747c0eaf5cabdcd56e35b33ca84317b504efb35767f7c3254 \
                    size    449580

compiler.cxx_standard 2011

post-destroot {
    set doc_dir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${doc_dir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS COPYING ${doc_dir}
}

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9.\]+)\\.
