Class GeniaTreebankXMLHandler

  • All Implemented Interfaces:
    ContentHandler, DTDHandler, EntityResolver, ErrorHandler

    public class GeniaTreebankXMLHandler
    extends DefaultHandler
    * Copyright (c) 2015, JULIE Lab. All rights reserved. This program and the accompanying materials are made available under the terms of the BSD-2-Clause License this class is faced with the problem to extract the flat chunk categories from the hierarchical constituent categories given in the Genia Treebank This is solved by giving each chunk the lowest / closest category of the corresponding constitute When a token is read it belongs to consCatStack.top()
    Author:
    rubruck