def level_chunker(text, getreffs, level=<NUM_LIT:1>):
references = getreffs(level=level)<EOL>return [(ref.split("<STR_LIT::>")[-<NUM_LIT:1>], ref.split("<STR_LIT::>")[-<NUM_LIT:1>]) for ref in references]<EOL>
Chunk a text at the passage level

    :param text: Text object
    :type text: MyCapytains.resources.text.api
    :param getreffs: Callback function to retrieve text
    :type getreffs: function(level)
    :return: List of urn references with their human readable version
    :rtype: [(str, str)]