uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Lucas" <p...@lucasmail.org>
Subject Building on Mac; simple NER example?
Date Tue, 22 Oct 2013 23:02:15 GMT
Hi there -

I've downloaded the 2.4.0 C++ framework source and am trying to build it on Mac OS X 10.8.5.
First, I had to mess around with the JavaVM framework files by adding a few symlinks:

1. In /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home, I added:

	include -> /System/Library/Frameworks/JavaVM.framework/Headers/

2. In /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers, I added:

	JavaVM -> ./

then specified to configure:


that finally made configure succeed.  (Mac OS X is supposed to be a supported platform, isn't

When I tried to build, I get:

> In file included from ./uima/casiterator.hpp:37:
> ../cas/uima/cas.hpp:1252:84: error: default argument references parameter
>       'enAmbiguous'
>   ...const & crType, EnIteratorAmbiguity enAmbiguous = enAmbiguous ) const;
>                                                        ^~~~~~~~~~~
> ../cas/uima/cas.hpp:1376:88: error: default argument references parameter
>       'enAmbiguous'
>   ...const & an, EnIteratorAmbiguity enAmbiguous = enAmbiguous ) const;
>                                                    ^~~~~~~~~~~


$ g++ --version
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin12.5.0
> Thread model: posix

Assuming I can get past this, my primary goal is to use UIMA to perform NER, i.e., give it
some text and get people & places back.  I couldn't find any examples of this.  Can this
be done using UIMA?  Example C++ code?  Thanks.

- Paul

View raw message