def is_base_form(self, univ_pos, morphology=None):
morphology = {} if morphology is None else morphology<EOL>others = [key for key in morphology<EOL>if key not in (POS, '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>')]<EOL>if univ_pos == '<STR_LIT>' and morphology.get('<STR_LIT>') == '<STR_LIT>':<EOL><INDENT>return True<EOL><DEDENT>elif univ_pos == '<STR_LIT>' and morphology.get('<STR_LIT>') == '<STR_LIT>':<EOL><INDENT>return True<EOL><DEDENT>elif univ_pos == '<STR_LIT>' and (morphology.get('<STR_LIT>') == '<STR_LIT>' and<EOL>morphology.get('<STR_LIT>') == '<STR_LIT>' and<EOL>morphology.get('<STR_LIT>') is None and<EOL>not others):<EOL><INDENT>return True<EOL><DEDENT>elif univ_pos == '<STR_LIT>' and morphology.get('<STR_LIT>') == '<STR_LIT>':<EOL><INDENT>return True<EOL><DEDENT>elif VerbForm_inf in morphology:<EOL><INDENT>return True<EOL><DEDENT>elif VerbForm_none in morphology:<EOL><INDENT>return True<EOL><DEDENT>elif Number_sing in morphology:<EOL><INDENT>return True<EOL><DEDENT>elif Degree_pos in morphology:<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Check whether we're dealing with an uninflected paradigm, so we can
avoid lemmatization entirely.