nlp :: NLPDocument :: from_xml_file
self
# Init `self` from a XML file. init from_xml_file(path: String) do var file = new FileReader.open(path) var xml = file.read_lines file.close xml.shift # remove xml doctype xml.shift # remove xslt link from_xml(xml.join("\n").to_xml.as(XMLDocument)) end