Skip to content

Commit d4f4335

Browse files
Ko van der SlootKo van der Sloot
authored andcommitted
works with latest/greatest mbt/mbtserver only
1 parent 5d2ce02 commit d4f4335

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,14 @@ PKG_CHECK_MODULES([timbl], [timbl >= 6.4.8] )
5555
CXXFLAGS="$CXXFLAGS $timbl_CFLAGS"
5656
LIBS="$timbl_LIBS $LIBS"
5757

58-
PKG_CHECK_MODULES([mbt], [mbt >= 3.2.16] )
58+
PKG_CHECK_MODULES([mbt], [mbt >= 3.5] )
5959
CXXFLAGS="$CXXFLAGS $mbt_CFLAGS"
6060
LIBS="$mbt_LIBS $LIBS"
6161

62+
PKG_CHECK_MODULES([mbtserver], [mbtserver >= 0.13] )
63+
CXXFLAGS="$CXXFLAGS $mbtserver_CFLAGS"
64+
LIBS="$mbtserver_LIBS $LIBS"
65+
6266
PKG_CHECK_MODULES([ticcutils], [ticcutils >= 0.17] )
6367
CXXFLAGS="$CXXFLAGS $ticcutils_CFLAGS"
6468
LIBS="$ticcutils_LIBS $LIBS"

src/chunkgen.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void spit_out( ostream& os,
9393
vector<string> tags;
9494
for( const auto& tr : tagv ){
9595
words.push_back( tr.word() );
96-
tags.push_back( tr.assignedTag() );
96+
tags.push_back( tr.assigned_tag() );
9797
}
9898
string prevP = "_";
9999
for ( size_t i=0; i < words.size(); ++i ){

src/nergen.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void spit_out( ostream& os,
119119
vector<string> tags;
120120
for( const auto& tr : tagv ){
121121
words.push_back( tr.word() );
122-
tags.push_back( tr.assignedTag() );
122+
tags.push_back( tr.assigned_tag() );
123123
}
124124

125125
vector<string> gazet_tags = myNer.create_ner_list( words );

0 commit comments

Comments
 (0)