made minor changes to extract_from_xml.py to better capture properties of individual corpora