import re


def convert_word_to_pos(word):
    """Retrieves the part of speech, if given, from the word."""
    match = re.search("(/.*$)", word)
    if match:
        return match.group(1).replace("/", "")

    return ""