Am 29.07.2013 um 09:26 schrieb
fain...@gmail.com:
> Hi, all!
>
> I want to add and tag new annotation type. Could you give me link to the source where I can read how can I automatically produce Class.xml or Class_Type.java or Class.Java using uimafit through m2eclipse.
>
> Is there any step-by-step instruction for uimafit (not for an "old" uima) or maybe someone can explain me what to do?
uimaFIT uses UIMA type descriptors. So any "old" instructions on how to create new UIMA types are also valid for uimaFIT.
After you have created your "old-style" type descriptor, you probably want to make it detectable by uimaFIT.
First, make sure your descriptor is in your classpath. If you use Maven, it should be somewhere under src/main/resources,
otherwise probably somewhere in src. Say you use Maven, you could create it at src/main/resources/desc/type/MyTypes.xml
The create a folder META-INF/org.uimafit/types.txt also in the classpath. For Maven src/main/resources/META-INF/org.uimafit/types.txt
Open the types.txt and add a line referencing your type descriptor (mind this reference relative to the classpath, so src/main/resources is not a part of it):
classpath*:desc/type/MyTypes.xml
For more info see [1].
> I also want to understand, how can I configure my own types.txt file, what I need to do in order to use my own automatic type system not imported from META-INF.maven.org-uimafit.
You should explain your problem in more detail. Without further details, I can only point you to the instructions as [1] (or the brief summary I gave above).
-- Richard
[1]
https://code.google.com/p/uimafit/wiki/TypeDescriptorDetection.