The import statement for the org.apache.uima.examples.opennlp.Token; is problematic. Here is the error on Eclipse Problems tab:The import org.apache.uima.examples.opennlp cannot be resolved. Yes, the source is included in the uimaj-examples. Aparently, I found out that I also referenced my main project in the uimaj-examples, so there was a problem with the cycle reference. I removed the project reference from uimaj-examples, and now it's able to see the Token class.
As far as what I am trying to do, I am trying to build an aggregate engine that imports the OpenNLPPOSTagger.xml so that I get the POS feature value of tokens that make up my document. Thank you both for your help. -Ahmed On Thu, Jul 17, 2008 at 4:05 PM, Tong Fin <[EMAIL PROTECTED]> wrote: > In the uimaj-examples project, do you include "opennlp_wrappers/src" > in the "Source" tab ? > > -- Tong > > On Thu, Jul 17, 2008 at 3:44 PM, Ahmed Abdeen Hamed > <[EMAIL PROTECTED]> wrote: > > Thank you, but that's exactly what I doing and mentioned in my original > > note. However, the following class is not accessible: > > > > org.apache.uima.examples.opennlp.Token; > > Am I missing anything? > > Thanks! > > Ahmed > > On Thu, Jul 17, 2008 at 3:21 PM, Tong Fin <[EMAIL PROTECTED]> wrote: > > > >> If you are using Eclipse ... > >> - right click on the project name->select Properties to bring up > >> "Properties" page > >> - click "Java Build Path" on the let and click "Projects" tab on the > right > >> - add uimaj-examples project to that tab > >> > >> -- Tong > >> > >> On Thu, Jul 17, 2008 at 3:10 PM, Ahmed Abdeen Hamed > >> <[EMAIL PROTECTED]> wrote: > >> > Hello,I am trying to access some packages from the uimaj-examples > project > >> > from within another one. I thought it was sufficient to make the two > >> > projects dependent on each other. However, that doesn't seem to work. > I > >> am > >> > not able to access certain packages from my main project. What is the > >> best > >> > way to do that? I recall from yesterday's conversation about POSTagger > >> > that Jörn was saying that I might need a PEAR file. Can anyone > confirm? > >> > Thanks! > >> > Ahmed > >> > > >> > > >
