Hi Borislav,

Thanks for your reply. I've tried setting the parameters as you suggest
but no luck yet. The AST is working since I can now see things like
Token and Split in the default set but I still can't see my tags. I've
tried putting the AST at the beginning of the pipeline and then at the
end (to make sure that they weren't getting deleted at some point during
the execution) but I still can't see them in the default AS. I've
included the text from the .gapp file below.

Regards,

Alistair

        <gate.util.persistence.AnalyserRunningStrategyPersistence>
          <runMode>4</runMode>
          <featureName>text</featureName>
          <featureValue>exist</featureValue>
          <pr class="gate.util.persistence.PRPersistence">
            <runtimeParams class="gate.util.persistence.MapPersistence">
              <mapType>gate.util.SimpleFeatureMapImpl</mapType>
              <localMap>
                <entry>
                  <string>document</string>
                  <null/>
                </entry>
                <entry>
                  <string>inputASName</string>
                  <string>Original markups</string>
                </entry>
                <entry>
                  <string>tagASName</string>
                  <string>Original markups</string>
                </entry>
                <entry>
                  <string>annotationTypes</string>
                  <gate.util.persistence.CollectionPersistence>
                    <localList>
                      <string>Customer</string>
                    </localList>
 
<collectionType>java.util.Arrays$ArrayList</collectionType>
                  </gate.util.persistence.CollectionPersistence>
                </entry>
                <entry>
                  <string>textTagName</string>
                  <string></string>
                </entry>
                <entry>
                  <string>outputASName</string>
                  <string></string>
                </entry>
                <entry>
                  <string>copyAnnotations</string>
                  <boolean>true</boolean>
                </entry>
                <entry>
                  <string>transferAllUnlessFound</string>
                  <boolean>true</boolean>
                </entry>
              </localMap>
            </runtimeParams>
 
<resourceType>gate.creole.annotransfer.AnnotationSetTransfer</resourceTy
pe>
            <resourceName>news ast</resourceName>
            <initParams class="gate.util.persistence.MapPersistence">
              <mapType>gate.util.SimpleFeatureMapImpl</mapType>
              <localMap/>
            </initParams>
            <features class="gate.util.persistence.MapPersistence">
              <mapType>gate.util.SimpleFeatureMapImpl</mapType>
              <localMap/>
            </features>
          </pr>
        </gate.util.persistence.AnalyserRunningStrategyPersistence>

Alistair Duke 
Next Generation Web Research
Centre for Information & Security Systems Research 
BT Innovate
___________________________ 
Office: +44(0) 1473 608192 
Mobile: +44(0) 7730 426257 
Fax : +44(0) 1473 606755 
Email: [email protected] 
This email contains BT information, which may be privileged or
confidential.
It's meant only for the individual(s) or entity named above. If you're
not the intended
recipient, note that disclosing, copying, distributing or using this
information
is prohibited. If you've received this email in error, please let me
know immediately
on the email address above. Thank you.
We monitor our email system, and may record your emails.
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no: 1800000

 

> -----Original Message-----
> From: borislav popov [mailto:[email protected]] 
> Sent: 20 July 2009 10:24
> To: Duke,AK,Alistair,DER3 R
> Cc: [email protected]
> Subject: Re: [Kim-discussion] Original markups in doc not 
> picked up by KIM
> 
> Hi Alistair,
>       if you write only to me - it is very likely not to get 
> an answer for some time - so please include the discussion 
> list. If you feel there is smth of sensitive nature - pls 
> include [email protected] and [email protected] .
> For the AST - if it is only the parameters - you've done well 
> - editing the pipeline is usually not simple.
> I've attached the run-time parameters (there are no load time params)
> below:
> Notes: instead of title, body you put Customer, etc.
> Also make sure the outputASName is a blank (not space or 
> smth) so that it will match to the default annotation set.
> 
> if you still have problems - let us know to overcome this quickly b
> 
> 
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to