You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently DKPro TreeTagger supports auto-lookup of model files. It looks up and
loads the appropriate language model automatically according to the document
language. All other DKPro analysis engines (AEs) doesn't possess this ability
yet.
Dive into DKPro TreeTagger and learn how it does such auto-lookup. Can this
mechanism be encapsulated into ExternalResource? Goal is to let AE
automatically gain this auto-lookup feature, when such an object is passed in
in the parameter for model file location.
Furthermore, specific default paths should be configurable via property files.
Lastly, can it load concrete resources lazily? Meaning to load the resource the
moment it is first used. (Good starting point: ExternalResourceFactory of
UIMAFit, line 220)
For the lazy-loeading resources, have a look at the class ParametrizedResource
in org.uimafit.factory.ExternalResourceFactoryTest.
There is one more aspect to this issue: tags produced by the TreeTagger or
other analysis components do not directly correspond to UIMA types. We usually
have a generic base type, e.g. POS for Part-of-Speech annotations and more
specific subtypes, e.g. V for verbs, N for nouns, etc. The same for parsers or
named entity recognition. The generic model resource should also have some
method getUimaType(String tag) were you pass in a tag and it retuns a UIMA type
to use for the annotation. See
de.tudarmstadt.ukp.dkpro.core.treetagger.TreeTaggerTT4JBase.getTagType(DKProModel,
String, TypeSystem) for how this is done in the TreeTagger component.
Original issue reported on code.google.com by richard.eckart on 2011-10-03 19:19:13
The text was updated successfully, but these errors were encountered:
50% done.
Encapsulated auto-lookup mechanism in AutoResourceResolver.
Specific paths can be configured in Java, which can also be overridden at runtime by
UIMA parameters.
Original issue reported on code.google.com by s.yang@ishuo.de on 2012-01-03 14:34:46
Changed the title to reflect a reorientation in this task. For the time being we no
longer try to model this using an external resource, but rather first try to harmonize
the model/mapping loading across components.
Original issue reported on code.google.com by richard.eckart on 2012-05-08 18:11:25
Original issue reported on code.google.com by
richard.eckart
on 2011-10-03 19:19:13The text was updated successfully, but these errors were encountered: