Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-133

constituency-parser: escaped types confused for function tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      There is code to separate constituent labels from function tags - e.g., NP-SBJ for a noun phrase (NP) that is a subject (SBJ). There are other tags that are special cases to escape things that screw up tree formatting – a paren in the text "(" is rewritten as LRB to not be mistaken for a tree delimiter. But the code looking for the dash in a label-function tag will find the dash in the LRB. The fix is to check for a dash at the start of the label – escaped tags will not have function elements.

      Attachments

        Activity

          People

            tmill Tim Miller
            tmill Tim Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: