def get_phons(word):
    """Function that takes XSAMPA of word, where every phoneme is followed by '.', and returns a list of the phonemes without the '.' separator and without newline character."""
    phons = word.split('.')
    if phons[-1] == '\n':
        phons.pop()
    return phons