Home
UIMA Type Mapper
Contents
1. Te Facebook Mozilla Fir a Terminal Java Eclipse screen shots Naviga Gf 11 36 06 E Ef TypeMapperDescriptor xml 53 gt o TypeMapperDescriptor xml Overview El Implementation Details Overall Identification Information Implementation Language C C Java This section specifies the basic identification information for this descriptor Engine Type Primitive Aggregate Name TypeMapperDescriptor Runtime Information Version 1 0 This section describes information about how to run this component Vendor vi updates the CAS Description a vi multiple deployment allowed Outputs new CASes Name of the Java class file main typeMappingAnalysisEngineAnnotator Browse Overview Aggregate Parameters Parameter Settings Type System Capabilities Indexes Resources Source Clic sur Browse afin d indiquer ou se trouve le code tyoeMappingAnalysisEngineAnnotator java Ef TpeMapperDescriptorxml 2 5 Er TypeMapperDescriptor xml Choose the Analysis Engine descriptor implementation class x Overvie y J e E Implel Filterfmask Implemet typeM Engine Ty Matching items Runtir This secti run this updat s multig Outpe Name of E main uima type mapper 5 0 src cancel C o Overview Aggregate Parameters Parameter Settings Type System Capabilities Indexes Resources Onglet Parameter Settings gt Mettre le nom de votre fich
2. gt test Palabra lt TARGET gt lt RULE gt lt RULES gt Exemple de 1 to n avec contrainte lt RULES gt lt RULE gt lt SOURCE gt org apache uima TokenAnnotation lt SOURCE gt lt CONSTRAINT gt posTag nn lt CONSTRAINT gt lt TARGET gt test Mot lt TARGET gt lt TARGET gt test Palabra lt TARGET gt lt RULE gt lt RULES gt 3 dition du descripteur XML du Type Mapper Afin de renseigner au Type Mapper quels sont les types transformer il est n cessaire de modifier son Type System et d y inclure tous les types qui seront manipul s soit e Les types en sortie de l Analysis Engine qui pr c de le Type Mapper e Les types en entr e de l Analysis Engine qui suit le Type Mapper Clic droit sur le descripteur gt Open With gt Component Descriptor Editor SE EEE Xx File Edit Source Refactor Navigate Search Project Run Window Help r3 0 Q g S 2 o 7 e FS fava 8 Package Explorer X gt fg Hierarchy 7 B fm E bd WwW uima type mapper 5 0 trunk uima type n D src E v desc fi main b fhtest gt mJRE System Library JavaSE 1 6 b wa Referenced Libraries Gy conf Gy data Gy doc gt ylib b Gy metadata v oo 191 p y resources El Problems X Javadoc Declaration Console G Progress a 0 errors 12 warnings 0 others Description Resource b amp Warnings 12 items giz g TypeMapperDescriptor xml uima type mapper 5 0 desc main
3. HmmTagger Ei Down Type System Capabilities Indexes Resources Le placer ou vous le souhaitez dans la chaine de traitement gr ce up down Demo xml Aggregate Delegates and Flows Component Engines The following engines are included in this aggregate Delegate Key Name Fa main TypeMapperDescriptor TypeMapperLl Ey WhitespaceTokenizer WhitespaceTe gt gt Fa HmmTagger HmmTagger Oe AddRemote Find AE Add Remove m p Component Engine Flow Choose a flow type and describe the execution order of your engines The table shows the delegates using their key names Flow Kind Fixed Flow Flow Controller Browser Key Name Search iy WhitespaceTokenizer Up E HmmTagger Click her i TypeMapperDescriptor one posi Overview Aggregate Parameters Parameter Settings Type System Capabilities Indexes Resources 3 Remarques Si vous avez des questions sur l utilisation d UIMA Type Mapper ou son fonctionnement vous pouvez nous contacter sur e uima type mapper googlegroups com e http groups google fr group uima type mapper Nous sommes ouverts toute proposition et avis ext rieur n h sitez pas a nous soumettre vos id es sur la page Google Groups d di e a UIMA Type Mapper
4. UIMA Type Mapper Manuel d utilisateur 1 Pr sentation UIMA Unstructured Information Management Architecture permet l analyse et le traitement de documents non structur s de types divers texte audio vid o etc Il persiste un probleme concernant l utilisation d UIMA En effet chaque organisation possede son propre systeme de types Type System par consequent il est possible d avoir deux Type System que nous appellerons TS1 et TS2 qui correspondent au m me concept Word Mot ou Phrase Sentence par exemple Soit un composant Analysis Engine ne pouvant manipuler uniquement des annotations de type TS2 or nous souhaitons l utiliser avec TSI puisqu il s agit du m me concept En pratique il nous est impossible d utiliser ce composant avec TS1 d ou la n cessit d avoir un composant permettant le passage d un type a un autre il s agit du Type Mapping Notre composant un Analysis Engine effectue la transformation en fonction de regles sp cifi es par l utilisateur Le Type Mapper ne fonctionne pas seul il va s ins rer entre deux Analysis Engines l int rieur d une chaine de traitement par exemple un aggregate Fonctionnalit s du Type Mapper e Le mapping ou conversion s effectue en suivant des r gles de transformation e Ces r gles de transformation sont externes au code e Le composant est g n rique le code n a pas de connaissances sur les types manipul s e Il g re plusieurs r gles en une se
5. ier XML E TpeMapperDescriptor xml x TypeMapperDescriptor xml Parameter Settings Configuration Parameters This section list all configuration parameters either as plain parameters or as part of one or more groups Select one to show or set the value in the right hand panel lt Not in any group gt Overview Aggregate Parameters Parameter Settings Type System Capabilities Indexes Resources A BE ace Values Specify the value of the selected configuration parameter Value file xml Adadi Edit Remove Up Value list Down gt Onglet Type System gt Add gt Choisir les descripteurs XML des types que manipulera le Type Mapper ef TypeMapperDescriptor xml 53 TypeMapperDescriptor xml Type System Definition Types or Classes The following types classes are defined in this analysis engine descriptor The grayed out items are imported or merged from other descriptors and cannot be edited here To edit them edit their source files Type Name or Feature Name SuperType or Range Element Type Lt LEE ES Imported Type Systems The following type systems are included as part of this one Age Remove Add Type Set DataPath Add Kind Location Name Edit By Name test PhraseTSDesc By Name test NomTSDesc Remove By Name test SentenceAnnotationDesc Export By Name test TokenAnnotationDesc By Name test NomPropreTSDesc JCasGen Overview Aggregate Parameters Paramete
6. ility Set Mark one or more types as Input and or Output by clicking the mouse in the corresponding column and press OK Type Name Input Output Type Namespace Annotation uimatcas AnnotationBase uima cas DocumentAnnotation umatcas NomPropre test org apache uima SentenceAnnotation In TokenAnnotation org apache uima cancel 4 Modification de l aggregate ll faut modifier votre cha ne de traitement Aggregate afin d y placer le Type Mapper Clic droit sur le descrioteur gt Open With gt Component Descriptor Editor Onglet Aggregate gt Add gt Selection du descripteur du Type Mapper Demo xml Aggregate Delegates and Flows mea Component Engines The following engines are included in this aggregate Delegate Key Name Ea main TypeMapperDescriptor TypeMapperL Ey WhitespaceTokenizer WhitespaceTe gt gt Ea HmmTagger HmmTagger BEN AddRemote Find AE PCEEEEPELE EEE EEE EEEEEEEEEEEEEEN Click here to add a locally defined AE or CAS Consumer delegate Overview Aggred Anana Component Engine Flow Choose a flow type and describe the execution order of your engines The table shows the delegates using their key names Flow kind Fixed Flow Flow Controller M NGWESE Key Name Search Eig WhitespaceTokenizer u Eig
7. mun apache uimaj 2 3 0 incubating bin lib uirna tool org apache uima tools components XmiWriterCasConsume opt commun apache uimaj 2 3 0 incubating bin lib uirna tool org apache uima tools camponents xmlDetagger xml opt commun apache uimaj 2 3 0 incubating bin lib uirna tool Browse the file system Import by Name O Import By Location cancel Onglet Capabilities gt Add Type gt Choisir les types en entr e in et en sorties out Ef TypeMapperDescriptor xml Des TypeMapperDescriptor xml Capabilities Inputs and Outputs Component Capabilities This section describes the languages handled and the inputs needed and outputs provided in terms of the Types and Features 6 2 E Name Input Output Name Space ma x 2 x Add Capability Set Langua Add Language Sofas E Type Mot Output test lt all features gt Output Add Sofa Type Nom Output test lt all features gt Output Add Edit Features Type Phrase Out ut test Le f Edit lt all features gt Output Type SentenceAnnotation Input Output test Remove lt all features gt l Input Output Type TokenAnnotation Input Output test lt all features gt Input Output gt Sofa Mappings Only used in aggregate Descriptors Overview Aggregate Parameters Parameter Settings Type System Capabilities Indexes Resources Source Add Types to a Capab
8. r Settings Type System Capabilities Indexes Resources Source K Import File s Selection x Use this panel to select a file in the Workspace by name xml resource OR source of by name resource rnedia KEY_EMILIEN UIMA Type Mapper env dev uima stande HmmTaggerAggregate xml Imedia KEY_EMILIEN UIMA Type Mapper env dev uima stande WhitespaceTokenizer xml Imedia KEY_EMILIEN UIMA Type Mapper env dev uima stande main TypeMapperDescriptor xml imedia KEY_EMILIEN UIMA Type Mapper env dev uima stande org apache uima collectionfimpl cpm container defaultCpel opt commun apache uimaj 2 3 0 incubating binjlib uira cpe org apache uima examples SourceDocumentinformation xr opt commun apache uimaj 2 3 0 incubating bin lib uima core org apache uima examples SourceDocumentinformation xt fopt commun apache uimaj 2 3 0 incubating bin lib uima exal org apache uima flow CapabilityLangquageFlowController xm opt commun apache uimaj 2 3 0 incubating binjlib uira core org apache uima flow FixedFlowController xml opt commun apache uimaj 2 3 0 incubating binjlib uirna core org apache uima impl factoryConfg xml fopt commun apache uimaj 2 3 0 incubating binjlib uirna core org apache uima tools components FileSystemcCollectionRe fopt commun apache uimaj 2 3 0 incubating bin lib uima tool org apachejuima tools components inlineXmlCasConsumer fopt commun apache uimaj 2 3 0 incubating binjlib uima toal org apache uima tools coamponents xCasWriterCasConsum opt com
9. s Sous l ments RULE L l ment fils RULE est compos des 3 elements fils e SOURCE unique e CONSTRAINT unique ou nul e TARGET unique ou multiple Le filtrage par contrainte repose sur la technologie JXPath L un des principaux atouts de JXPath est le parcours et le traitement d arbres ou graphes d objets a partir de chemins sp cifi s a l aide du langage XPath Nous utilisons donc cette fonctionnalit pour filtrer les annotations Une annotation peut tre repr sent e sous la forme d un arbre TokenAnnotation begin end coveredText posTag Une contrainte est sp cifi e sur l annotation et concerne ses features Soit dans l exemple il nous est possible de sp cifier en langage XPath la contrainte le posTag indique que l annotation est un nom gt de la mani re suivante LposTag nn condition condition appliqu e sur la racine posTag nn l attribut posTag est gal la chaine de caract res nn Pour plus d informations sur XPath veuillez suivre le lien suivant http jerome developpez com xmixsi xpath Exemple de 1 to 1 sans contrainte lt RULES gt lt RULE gt lt SOURCE gt org apache uima SentenceAnnotation lt SOURCE gt lt TARGET gt test Phrase lt TARGET gt lt RULE gt lt RULES gt Exemple de 1 to n sans contrainte lt RULES gt lt RULE gt lt SOURCE gt org apache uima TokenAnnotation lt SOURCE gt lt TARGET gt test Mot lt TARGET gt lt TARGET
10. ule fois e Les types devant tre transform s peuvent tre sp cifi s plus en d tails notamment gr ce l utilisation de contraintes 2 Utilisation 1 Pr requis Il faut d compresser le jar dans votre r pertoire Il contient deux fichiers e Le code du Type Mapper typeMappingAnalysisEngineAnnotator java et la classe Rule java placer dans votre r pertoire src du projet XN e Le descripteur XML TypeMapperDescriptor xml placer dans le repertoire desc du projet Si ce n est pas d j fait placer dans le Build Path du projet les r pertoires src et desc Modification du Build Path d un projet Eclipse http enicolashernandez blogspot com 2010 03 modifier le build path de votre projet html 2 dition des r gles fichier XML Ce fichier doit tre pr sent dans le r pertoire ressources du Build Path Eclipse Il suit la DTD qui suit La DTD Document Type Definition ou D finition de Type de Document est un document permettant de d crire un mod le de document XML Nous d crivons tout d abord le premier l ment de notre document XML Ce sera l l ment racine lt xml version 1 0 encoding utf 8 gt lt version 1 0 gt lt ELEMENT RULES RULE gt lt ELEMENT RULE SOURCE CONSTRAINT TARGET gt lt ELEMENT SOURCE PCDATA gt lt ELEMENT CONSTRAINT PCDATA gt lt ELEMENT TARGET PCDATA gt Cet l ment nomm RULES est compos de 1 ou plu
Download Pdf Manuals
Related Search
Related Contents
"取扱説明書" XN How to get started - Product Documentation VALVULAS DE COMPUERTA CLASE 150# - 2500# PCX1221HR PCX1222HR Matisse User's Guide - Spectra Samsung SMS-A20 User Manual Copyright © All rights reserved.
Failed to retrieve file