parse_xml_annotations: Parse XML annotations into linguistic layers

View source: R/KorAPQuery.R

parse_xml_annotationsR Documentation

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)

Arguments

xml_snippet

XML string containing annotation data

Value

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


RKorAPClient documentation built on Sept. 9, 2026, 5:11 p.m.