You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by "Paul J. Lucas" <pa...@lucasmail.org> on 2013/10/23 01:02:15 UTC
Building on Mac; simple NER example?
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:
--with-jdk=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include
that finally made configure succeed. (Mac OS X is supposed to be a supported platform, isn't it?)
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;
> ^~~~~~~~~~~
FYI:
$ 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
Re: Building on Mac; simple NER example?
Posted by Jörn Kottmann <ko...@gmail.com>.
On 10/23/2013 01:02 AM, Paul J. Lucas wrote:
> 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.
You could try Apache OpenNLP.
Jörn