def indexLexiconEntry(entry):
    """
    Retrieves the strong number and lemma from an entry if it is valid
    :param entry:
    :return:
    """
    if 'id' in entry.attrib:
        for element in entry:
            if element.tag.endswith('}w'):
                return entry.attrib['id'], element.text
    return None, None