You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2012/11/28 15:32:59 UTC

[jira] [Closed] (UIMA-2508) Improve lexer in default TextMarker seeding for html fragments

     [ 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