uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl (JIRA) <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-2508) Improve lexer in default TextMarker seeding for html fragments
Date Wed, 28 Nov 2012 14:32:59 GMT

     [ https://issues.apache.org/jira/browse/UIMA-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Klügl closed UIMA-2508.
-----------------------------

    Resolution: Fixed

fixed. Implemented a hotfix, because identification of tag in jflex did not work (I gave up).
Removed markup rules in lexer and replaced that functionality by a hotfix in the DefaultSeeder
implementation: use regexp and adapt the annotations.
                
> Improve lexer in default TextMarker seeding for html fragments
> --------------------------------------------------------------
>
>                 Key: UIMA-2508
>                 URL: https://issues.apache.org/jira/browse/UIMA-2508
>             Project: UIMA
>          Issue Type: Improvement
>          Components: TextMarker
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>            Priority: Minor
>
> The default seeding creates erroneously markup annotations because the applied regexp
in the lexer is just too simple. The identifier should be based on something like: \<\/?\w+(([
\t\f]+\w+([ \t\f]*=[ \t\f]*(\".*?\"|\'.*?\'|[^\'\"> \t\f]+))?)+[ \t\f]*|[ \t\f]*)\/?\>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message