def getMaxLength(dic):
    """get the maximum list length of the values of a dictionary mapping lemmas to lists
    of lexical types
    """
    m=1
    for k in dic.keys():
        c=len(dic[k])
        if c>m:
            m=c
    return m