def remove_uoms(words):
    """
    Remove uoms in the form of e.g. 1000m 1543m3

    Parameters
    ----------
    words: list of words to process

    Returns
    -------

    A list of words where possible uom have been removed
    """

    returnWords=[]
    for word in words:
        word=word.replace('.', '', 1)
        word=word.replace(',', '', 1)
        if word[0:len(word)-1].isnumeric()==False and word[0:len(word)-1].isdecimal()==False:
            #we do not have a match on e.g. 1543m 
            if word[0:len(word)-2].isnumeric()==False and word[0:len(word)-2].isdecimal()==False:
                #we do not have a match on e.g. 1543m3
                #add it
                returnWords.append(word)
    return returnWords