Learn R Programming

RKorAPClient (version 1.2.1)

parse_xml_annotations: Parse XML annotations into linguistic layers

Description

Internal helper function to extract linguistic annotations (lemma, POS, morphology) from XML annotation snippets returned by the KorAP API.

Usage

parse_xml_annotations(xml_snippet)

Value

Named list with vectors for 'token', 'lemma', 'pos', and 'morph'

Arguments

xml_snippet

XML string containing annotation data