def new(self, language: str='german', score_inertia: int=2):
    'Create a new wordlist.\n        \n        Args:\n            language (str): The name of a language in the GENDERS dictionary.\n            score_inertia (int): Determines how resistant scores are to change.\n                Must be a positive integer.  Higher values will require more consecutive\n                correct answers to reduce the frequency of a specific word.\n        '
    gender_options = get_languages()
    try:
        genders = gender_options[language]
    except KeyError as exception:
        raise ValueError(f'Unknown language: {language}') from exception
    columns = ['Word', 'Gender', 'Correct', 'Wrong', 'Weight']
    self.structure = {'language': language, 'genders': genders, 'aliases': self._get_aliases(genders), 'default guesses': score_inertia, 'index': 'Word', 'column count': 3}
    self.words = pd.DataFrame(columns=columns)
    self.words.set_index(self.structure['index'], inplace=True)
Create a new wordlist.

Args:
    language (str): The name of a language in the GENDERS dictionary.
    score_inertia (int): Determines how resistant scores are to change.
        Must be a positive integer.  Higher values will require more consecutive
        correct answers to reduce the frequency of a specific word.
def new(self, language: str='german', score_inertia: int=2):
    'Create a new wordlist.\n        \n        Args:\n            language (str): The name of a language in the GENDERS dictionary.\n            score_inertia (int): Determines how resistant scores are to change.\n                Must be a positive integer.  Higher values will require more consecutive\n                correct answers to reduce the frequency of a specific word.\n        '
    gender_options = get_languages()
    try:
        genders = gender_options[language]
    except KeyError as exception:
        raise ValueError(f'Unknown language: {language}') from exception
    columns = ['Word', 'Gender', 'Correct', 'Wrong', 'Weight']
    self.structure = {'language': language, 'genders': genders, 'aliases': self._get_aliases(genders), 'default guesses': score_inertia, 'index': 'Word', 'column count': 3}
    self.words = pd.DataFrame(columns=columns)
    self.words.set_index(self.structure['index'], inplace=True)