Skip to content

TITLELEVEL attribute

The TITLELEVEL attribute it is used to interact with possible titles in the document.

The example below shows how to extract information using this attribute.

It takes as an argument the level of title, level 2 in this case, in which you want to match tokens.

SCOPE SENTENCE*4
{
    IDENTIFY(TABLES)
    {
        TITLELEVEL(2)+KEYWORD("CONTACT")
        NEXT
        LEMMA("Mail")>>KEYWORD(":")>>@CONTENT[TYPE(MAI)]
    }
}

Note

You can use TITLELEVEL(0) to match any title in the document.