[apertium-hbs-mkd] 01/02: Imported Upstream version 0.1.0~r76450

Tino Didriksen tinodidriksen-guest at moszumanska.debian.org
Tue Jul 18 13:13:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

tinodidriksen-guest pushed a commit to branch master
in repository apertium-hbs-mkd.

commit 5689c879509743e1dd8af7bc8f6c0c10db95e1d6
Author: Tino Didriksen <tino at didriksen.cc>
Date:   Tue Jul 18 13:12:39 2017 +0000

    Imported Upstream version 0.1.0~r76450
---
 apertium-hbs-mkd.hbs-mkd.rlx | 12 +++----
 autogen.sh                   | 77 +++++++++++++++++++-------------------------
 2 files changed, 39 insertions(+), 50 deletions(-)

diff --git a/apertium-hbs-mkd.hbs-mkd.rlx b/apertium-hbs-mkd.hbs-mkd.rlx
index 9c468e5..179dac8 100644
--- a/apertium-hbs-mkd.hbs-mkd.rlx
+++ b/apertium-hbs-mkd.hbs-mkd.rlx
@@ -213,7 +213,7 @@ SELECT:PrnNumberFromVerb $$NUMBER (0C Pron) ((1C* V + $$NUMBER BARRIER EOS) OR (
 # This is a heuristic:
 SELECT:vbserORvblex VBLex IF (0 VBSer OR VBLex) 
 	(1* Nomen + Acc BARRIER V - Clt)
-REMOVE:vbserORvblex VBLex IF (0 VBSer OR VBLex) (NEGATE -1* (Nomen + Acc LINK 1 VBSer + Clt) BARRIER V-FIN OR BOS) (NEGATE 1* (Nomen + Acc LINK 1 VBSer + Clt) BARRIER V-FIN OR EOS)
+REMOVE:vbserORvblex VBLex IF (0 VBSer OR VBLex) (NEGATE -1* Nomen + Acc LINK 1 VBSer + Clt BARRIER V-FIN OR BOS) (NEGATE 1* Nomen + Acc LINK 1 VBSer + Clt BARRIER V-FIN OR EOS)
 
 SELECT VBSer IF (-1* Lp );
 SELECT VBSer IF (1* Lp BARRIER V - Lp - PresParticiple );
@@ -238,7 +238,7 @@ REMOVE:NotAdverbNotAdjective Adv (Not 0 A) (NOT -1 V) (Not 1 V) ;
 
 SELECT:Nom+Perfect NP-HEAD + $$NUMBER + $$GENDER + Nom IF
                          (0 NP-HEAD + $$NUMBER + $$GENDER)
-                         (1* (V-COP + $$NUMBER LINK 1 Lp + $$NUMBER + $$GENDER) BARRIER S-BOUNDARY) ;
+                         (1* V-COP + $$NUMBER LINK 1 Lp + $$NUMBER + $$GENDER BARRIER S-BOUNDARY) ;
     ## Radovanović je ušla u povijest kao prva žena-pilot u Srbiji.                         
 
 SELECT:BOS-Nom-Viv $$NUMBER + Nom IF (-1 BOS OR Cm) (1* V-FIN + Intransitive + $$NUMBER BARRIER Cm) ;
@@ -320,7 +320,7 @@ SELECT:AdjectiveORParticiple A (1* N BARRIER WORD - Modifier - Clt) ;
     
 SELECT Intransitive IF (1C Nom);
 
-SELECT:AdjBOSIsGen Gen (O A) (-1 BOS) (0 Gen-OR-Nom) (1* Nomen + Gen);
+SELECT:AdjBOSIsGen Gen (0 A) (-1 BOS) (0 Gen-OR-Nom) (1* Nomen + Gen);
 
 ###################################################
 SELECT Feminine IF (0 Cog + ("<Radovanović>") ) ;
@@ -421,8 +421,8 @@ REMOVE:Cog=>noPlural Plural IF (0 Cog + Plural + Feminine ) (NOT -1 Modifier + P
     ## A proper name is rarely in plural, if so probably there would be an adjective or a pronoun in plural before it
 SELECT:FeminineCognameAloneIsNominative Nom IF # This rule is really analyser specific
     (0 Cog + Feminine) 
-    (NOT -1 Ant + ($$CASE - Nom))
-    (NOT 1 Ant + ($$CASE - Nom));
+    (NOT -1 Ant + $$CASE - Nom)
+    (NOT 1 Ant + $$CASE - Nom);
     ## Indeed, if it's already not Accusative and Vocative etc
 
 SELECT:DativeIfAlone Dat IF (NOT 0 Num) 
@@ -493,7 +493,7 @@ REMOVE Plural IF (0 Lp)  (1 VBSer + Singular ) ;
 REMOVE:notTransitiveNoAccusative Transitive IF (NOT 1* Acc BARRIER V);
 SELECT:TransitiveBCauseAccusative Transitive IF (1* Acc BARRIER V);
 
-SELECT $$NUMBER (O PassiveParticiple) (-1* VBSer LINK -1* Particle + Interrogative LINK -1 V + $$NUMBER) ;
+SELECT $$NUMBER (0 PassiveParticiple) (-1* VBSer LINK -1* Particle + Interrogative LINK -1 V + $$NUMBER) ;
     ## "hoću li biti primljena"
 
 REMOVE:notParticiple Participle (-1 VBMod) (NOT 1 V) ;
diff --git a/autogen.sh b/autogen.sh
index b89a252..f9f430a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,46 +1,35 @@
 #! /bin/sh
 
-# $Id: autogen.sh,v 1.1 2006/07/13 11:06:16 sortiz Exp $
-#
-# Copyright (c) 2002  Daniel Elstner  <daniel.elstner at gmx.net>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License VERSION 2 as
-# published by the Free Software Foundation.  You are not allowed to
-# use any other version of the license; unless you got the explicit
-# permission from the author to do so.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-
-dir=`echo "$0" | sed 's,[^/]*$,,'`
-test "x${dir}" = "x" && dir='.'
-
-if test "x`cd "${dir}" 2>/dev/null && pwd`" != "x`pwd`"
-then
-    echo "This script must be executed directly from the source directory."
-    exit 1
-fi
-
-rm -f config.cache acconfig.h
-
-echo "- aclocal."		&& \
-aclocal				&& \
-echo "- autoconf."		&& \
-autoconf			&& \
-echo "- autoheader."		&& \
-autoheader			&& \
-echo "- automake."		&& \
-automake --add-missing --gnu	&& \
-echo				&& \
-./configure "$@"		&& exit 0
-
-exit 1
-
+# If the user specified a --prefix, take that, otherwise /usr/local/
+# is the default.
+PREFIX=/usr/local
+prefixnext=false
+for i in "$@"; do
+    case $i in
+        --prefix=*)		# equals separated:
+	    PREFIX="${i#*=}"
+	    ;;
+        --prefix)		# space separated:
+	    prefixnext=true
+	    ;;
+        *)
+	    $prefixnext && PREFIX="$i" && prefixnext=false
+	    ;;
+    esac
+done
+
+# Set the paths needed by libtool/pkg-config/aclocal etc. By inferring
+# them based on --prefix , users don't have to edit ~/.bashrc. We only
+# append, so if a user has some other preference, that will override.
+PATH="${PATH}:/usr/local/bin"
+export PATH
+LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${PREFIX}/lib"
+export LD_LIBRARY_PATH
+PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${PREFIX}/share/pkgconfig:${PREFIX}/lib/pkgconfig"
+export PKG_CONFIG_PATH
+ACLOCAL_PATH="${ACLOCAL_PATH}:${PREFIX}/share/aclocal"
+export ACLOCAL_PATH
+
+
+# Pass on all args to configure
+autoreconf -fi && ./configure "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/apertium-hbs-mkd.git



More information about the debian-science-commits mailing list