def get_string_onset(edge):
    """return the onset (int) of a string"""
    onset_label = edge.find('labels[@name="SSTART"]')
    onset_str = onset_label.xpath('@valueString')[0]
    return int(onset_str)