Skip to content

Commit 7b2392b

Browse files
committed
Merge branch 'master' of github.com:LanguageMachines/mbt
2 parents ffd8efb + a31334d commit 7b2392b

31 files changed

+800
-644
lines changed

.gitignore

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
ChangeLog
2+
INSTALL
3+
Makefile
4+
Makefile.in
5+
aclocal.m4
6+
autom4te.cache/
7+
compile
8+
config.guess
9+
config.h
10+
config.h.in
11+
config.log
12+
config.status
13+
config.sub
14+
configure
15+
depcomp
16+
docs/Makefile
17+
docs/Makefile.in
18+
example/Makefile
19+
example/Makefile.in
20+
include/Makefile
21+
include/Makefile.in
22+
include/mbt/Makefile
23+
include/mbt/Makefile.in
24+
install-sh
25+
libtool
26+
ltmain.sh
27+
m4/
28+
mbt.pc
29+
missing
30+
src/.deps/
31+
src/.libs/
32+
src/*.lo
33+
src/*.o
34+
src/Makefile
35+
src/Makefile.in
36+
src/convert
37+
src/libmbt.la
38+
src/mbt
39+
src/mbtg
40+
src/simple.setting
41+
src/simpletest
42+
src/simpletest.log
43+
src/simpletest.trs
44+
src/test-suite.log
45+
stamp-h1
46+
test-driver

.travis.yml

Lines changed: 72 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,92 @@
1+
# whitelist
2+
branches:
3+
only:
4+
- master
5+
6+
sudo: required
7+
dist: trusty
8+
group: edge
9+
10+
notifications:
11+
irc:
12+
channels:
13+
- "irc.uvt.nl#gitlama"
14+
template:
15+
- "%{repository_slug}#%{build_number} %{message} --> %{build_url}"
16+
skip_join: true
17+
118
language: cpp
2-
compiler:
3-
- gcc
4-
- clang
19+
matrix:
20+
include:
21+
- os: linux
22+
compiler: g++
23+
cache: ccache
24+
env:
25+
- SCAN=echo
26+
27+
- os: linux
28+
compiler: clang++
29+
cache: ccache
30+
env:
31+
- SCAN=scan-build
32+
- OPENMPFLAG=--disable-openmp
33+
34+
- os: osx
35+
compiler: clang++
36+
cache: ccache
37+
env:
38+
- SCAN=echo
39+
540
before_install:
6-
- sudo apt-get update
7-
- sudo apt-get install pkg-config autoconf-archive libicu-dev libxml2-dev libbz2-dev zlib1g-dev
41+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
42+
sudo apt-get update;
43+
sudo apt-get install pkg-config autoconf-archive ccache cppcheck libicu-dev libxml2-dev libbz2-dev zlib1g-dev libboost-dev libboost-regex-dev libtar-dev;
44+
fi
45+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
46+
brew update;
47+
brew install pkg-config;
48+
brew install autoconf-archive;
49+
brew outdated || brew upgrade icu4c;
50+
brew outdated || brew upgrade libxml2;
51+
brew outdated || brew install bzip2;
52+
brew outdated || brew install zlib;
53+
brew install libtar;
54+
brew install cppcheck;
55+
brew install ccache;
56+
brew outdated boost || brew upgrade boost;
57+
brew install llvm;
58+
export PATH="/usr/local/opt/llvm/bin:$PATH";
59+
export LDFLAGS="-L/usr/local/opt/llvm/lib";
60+
export CXXFLAGS="-I/usr/local/opt/llvm/include";
61+
fi
62+
63+
- export PATH="/usr/lib/ccache/bin/:$PATH"
64+
865
- git clone https://github.com/proycon/ticcutils
966
- cd ticcutils
1067
- bash bootstrap.sh
11-
- ./configure
68+
- ./configure $OPENMPFLAG
1269
- make
1370
- sudo make install
1471
- cd ..
1572
- git clone https://github.com/proycon/timbl
1673
- cd timbl
1774
- bash bootstrap.sh
18-
- ./configure
75+
- ./configure $OPENMPFLAG
1976
- make
2077
- sudo make install
2178
- cd ..
79+
2280
install:
2381
- bash bootstrap.sh
24-
- ./configure
82+
- ./configure $OPENMPFLAG
83+
- cppcheck --enable=all --quiet --error-exitcode=0 .
84+
- $SCAN --status-bugs make
2585
- make
2686
- sudo make install
87+
2788
script:
2889
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib make check
90+
91+
after_failure:
92+
- cat src/test-suite.log

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ ACLOCAL_AMFLAGS = -I m4 --install
55

66
SUBDIRS = src include docs example
77

8-
EXTRA_DIST = bootstrap.sh AUTHORS TODO NEWS mbt.pc codemeta.json
8+
EXTRA_DIST = bootstrap.sh AUTHORS TODO NEWS README.md mbt.pc codemeta.json
99

1010
pkgconfigdir = $(libdir)/pkgconfig
1111
pkgconfig_DATA = mbt.pc
1212

1313
ChangeLog: NEWS
14-
svn update; svn2cl --include-rev
14+
git pull; git2cl > ChangeLog

NEWS

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
mbt version 3.3.1 2016-07-11
2+
[Ko van der Sloot]
3+
Bug fix release:
4+
A 3.2.17 tarball was released with the tag v3.3 which is confusing.
5+
So we release it again as 3.3.1 with the correct tarball.
6+
7+
mbt version 3.2.17 2016-07-11
8+
[Ko van der Sloot]
9+
Maintenance release
10+
- fixed a bug due tot uninitialized memeory
11+
- code refactoring
12+
- added OPENMP safeguards
13+
- fixed statistics for Enriched format
14+
- fixed issue #3 (sending manifest to cerr not cout)
15+
16+
mbt version 3.2.16 2016-07-11
17+
[Ko van der Sloot]
18+
Maintenance release
19+
- some code refactoring
20+
- fixed a problem with the -eNL option
21+
22+
mbt version 3.2.15 2016-01-14
23+
[Ko van der Sloot]
24+
* repository moved to GitHub
25+
* added Travis support
26+
* fixed storing path in settingsfile (don't!)
27+
* when desired, generate a frequencylist of the tags
28+
* use more ticcutils stuff (ComandLine)
29+
* better sentence reading and warnings
30+
* code cleanup an small fixes
31+
132
mbt version 3.2.12 2014-09-23
233
[Ko van der Sloot]
334
* release

README

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1 @@
1-
Mbt 3.2. (c) ILK/CNTS 1998-2010
2-
3-
Tilburg Memory Based Learner
4-
5-
Induction of Linguistic Knowledge Research Group, Tilburg University and
6-
Centre for Dutch Language and Speech, University of Antwerp
7-
8-
This is an extension to the thirth main release of Mbt
9-
10-
While this is NOT a Beta version it may still contain some bugs or
11-
behave not exactly as documented or expected. Comments and
12-
bug-reports are welcome at: [email protected]. Updates and more info
13-
may be found on our website: http://ilk.uvt.nl/ .
14-
15-
Mbt is distributed under the GNU Public Licence (see the file COPYING)
16-
17-
18-
This software has been tested on:
19-
- Intel platform running several versions of Linux, including Ubuntu and Debian
20-
buth 32 and 64 bits
21-
- Apple platform running MaxOSX
22-
23-
Compilers:
24-
- GCC (4.7 - 4.9.0). It is highly recommended to upgrade to at least GCC 4.8
25-
26-
Contents of this distribution:
27-
- sources
28-
- Licensing information ( COPYING )
29-
- Installation instructions ( INSTALL )
30-
- Build system based om Gnu Autotools
31-
- example data files ( in the demos directory )
32-
- documentation ( in the docs directory )
33-
34-
Dependecies:
35-
To be able to succesfully build Timbl from the tarball, you need the
36-
following pakages:
37-
- pkg-config
38-
- timbl
39-
- timblserver
40-
- libxml2-dev
41-
42-
1+
Please see README.md for for information.

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[![Build Status](https://travis-ci.org/LanguageMachines/mbt.svg?branch=master)](https://travis-ci.org/LanguageMachines/mbt) [![Language Machines Badge](http://applejack.science.ru.nl/lamabadge.php/mbt)](http://applejack.science.ru.nl/languagemachines/)
2+
3+
Mbt: Tilburg Memory Based Tagger
4+
===================================
5+
6+
Mbt 3.2 (c) CLST/ILK/CNTS 1998-2016
7+
Centre for Language and Speech Technology, Radboud University Nijmegen
8+
Induction of Linguistic Knowledge Research Group, Tilburg University and
9+
Centre for Dutch Language and Speech, University of Antwerp
10+
11+
**Website:** https://languagemachines.github.io/mbt
12+
13+
Comments and bug-reports are welcome on our issue tracker at
14+
https://github.com/LanguageMachines/mbt/issues, or by mailing
15+
lamasoftware (at) science.ru.nl .
16+
17+
Mbt is distributed under the GNU Public Licence v3 (see the file COPYING)
18+
19+
This software has been tested on:
20+
- Intel platform running several versions of Linux, including Ubuntu, Debian,
21+
Arch Linux, Fedora (both 32 and 64 bits)
22+
- Apple platform running Mac OS X 10.10
23+
24+
Compilers:
25+
- GCC. It is highly recommended to upgrade to at least GCC 4.8
26+
- Clang
27+
28+
Contents of this distribution:
29+
- sources
30+
- Licensing information ( ``COPYING`` )
31+
- Installation instructions ( ``INSTALL`` )
32+
- Build system based on GNU Autotools
33+
- example data files ( in the ``demos/`` directory )
34+
- documentation ( in the ``docs/`` directory )
35+
36+
Dependencies:
37+
To be able to succesfully build Timbl from the tarball, you need the
38+
following pakages:
39+
- pkg-config
40+
- [timbl](https://github.com/LanguageMachines/timbl)
41+
- [ticcutils](https://github.com/LanguageMachines/ticcutils)
42+
43+
44+
To install Mbt, first consult whether your distribution's package manager has an up-to-date package.
45+
If not, for easy installation of Mbt, TiMBL, and all dependencies, it is included as part of our software
46+
distribution LaMachine: https://proycon.github.io/LaMachine .
47+
48+
To compile and install manually from source instead, provided you have all the dependencies installed:
49+
50+
$ bash bootstrap.sh
51+
$ ./configure
52+
$ make
53+
$ make install

bootstrap.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# $Id$
2-
# $URL$
3-
41
# bootstrap - script to bootstrap the distribution rolling engine
52

63
# usage:
@@ -22,7 +19,7 @@ automake=automake
2219
aclocal=aclocal
2320

2421
# if you want to autogenerate a ChangeLog form svn:
25-
#
22+
#
2623
# svn2cl, a python script, as used in the GNU Enterprise project.
2724
# By jcater (Jason Cater), contributions by reinhard (Reinhard Müller).
2825
# Get it from
@@ -61,4 +58,3 @@ AUTOMAKE=automake ACLOCAL=aclocal autoreconf --install \
6158
# aclocal-1.9 \
6259
# && automake-1.9 --add-missing --verbose --gnu \
6360
# && autoconf
64-

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"name": "timbl"
8585
}
8686
],
87-
"readme": "https://github.com/LanguageMachines/mbt/blob/master/README",
87+
"readme": "https://github.com/LanguageMachines/mbt/blob/master/README.md",
8888
"issueTracker": "https://github.com/LanguageMachines/mbt/issues",
8989
"contIntegration": "https://travis-ci.org/LanguageMachines/mbt",
9090
"releaseNotes": "https://github.com/LanguageMachines/mbt/releases",

configure.ac

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# -*- Autoconf -*-
22
# Process this file with autoconf to produce a configure script.
3-
# $Id$
4-
# $URL$
53

64
AC_PREREQ(2.61)
7-
AC_INIT([mbt],[3.2.13],[timbl@uvt.nl])
5+
AC_INIT([mbt],[3.4],[[email protected].nl])
86
AM_INIT_AUTOMAKE
97
AC_CONFIG_SRCDIR([.])
108
AC_CONFIG_MACRO_DIR([m4])
@@ -47,34 +45,22 @@ if test x"$acx_pthread_ok" = xyes; then
4745
fi
4846

4947
PKG_PROG_PKG_CONFIG
50-
# Checks for timbl library.
5148

52-
# inspired by feh-1.3.4/configure.ac. Tnx Tom Gilbert and feh hackers.
49+
if test "x$prefix" = "xNONE"; then
50+
prefix="/usr/local"
51+
fi
5352

54-
# ugly hack when PKG_CONFIG_PATH isn't defined.
55-
# couldn't get it to work otherwise
5653
if test "x$PKG_CONFIG_PATH" = x; then
57-
export PKG_CONFIG_PATH=""
54+
export PKG_CONFIG_PATH="$prefix/lib/pkgconfig"
55+
else
56+
export PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
5857
fi
59-
AC_ARG_WITH(timbl,
60-
[ --with-timbl=DIR use timbl installed in <DIR>;
61-
note that you can install timbl in a non-default directory with
62-
./configure --prefix=<DIR> in the timbl installation directory],
63-
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$withval/lib/pkgconfig"],
64-
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib/pkgconfig"])
65-
# AC_MSG_NOTICE( [pkg-config search path: $PKG_CONFIG_PATH] )
58+
6659
PKG_CHECK_MODULES([timbl], [timbl >= 6.4.4] )
6760
CXXFLAGS="$CXXFLAGS $timbl_CFLAGS"
6861
LIBS="$LIBS $timbl_LIBS"
6962

70-
AC_ARG_WITH(ticcutils,
71-
[ --with-ticcutils=DIR use ticcutils installed in <DIR>;
72-
note that you can install ticcutils in a non-default directory with
73-
./configure --prefix=<DIR> in the ticcutils installation directory],
74-
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$withval/lib/pkgconfig"],
75-
[PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib/pkgconfig"])
76-
# AC_MSG_NOTICE( [pkg-config search path: $PKG_CONFIG_PATH] )
77-
PKG_CHECK_MODULES([ticcutils], [ticcutils >= 0.4] )
63+
PKG_CHECK_MODULES([ticcutils], [ticcutils >= 0.16] )
7864
CXXFLAGS="$CXXFLAGS $ticcutils_CFLAGS"
7965
LIBS="$LIBS $ticcutils_LIBS"
8066

docs/mbt.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.SH NAME
44
MBT \- Memory Based Tagger
5-
.SH SYNOPSYS
5+
.SH SYNOPSIS
66
mbt [options]
77

88
.SH DESCRIPTION

0 commit comments

Comments
 (0)