You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
I came accross this when I was testing the parser with the word "anger"
deftest_get_meaning(self) ->None:
expected: WordMeaning=WordMeaning(
{
Definition(
partOfSpeech='noun',
meanings={
"anger (countable and uncountable, plural angers)",
"A strong feeling of displeasure, hostility or antagonism towards someone or something, usually combined with an urge to harm.",
"(obsolete) Pain or stinging."
},
synonyms={"See also Thesaurus:anger"},
antonyms=set({}),
relatedWords={'anguish', 'anxiety', 'anxious'},
examples={
"Seeing the British establishment struggle with the financial sector is like watching an alcoholic[…]. Until 2008 there was denial over what finance had become. When a series of bank failures made this impossible, there was widespread anger, leading to the public humiliation of symbolic figures.",
"You need to control your anger.",
"It heals the Wounds that Sin hath made; and takes away the Anger of the Sore; […]",
"I immediately made the Experiment, ſetting the Moxa where the firſt Violence of my Pain began, which was the Joint of the great Toe, and where the greateſt Anger and Soreneſs ſtill continued, [...]"
}),
Definition(
partOfSpeech='verb',
meanings={
"anger (third-person singular simple present angers, present participle angering, simple past and past participle angered)",
"(transitive) To cause such a feeling of antagonism in.",
"(intransitive) To become angry."
},
synonyms={
"(to cause anger): enrage, infuriate; annoy, vex, grill, displease; aggravate, irritate",
"(to become angry): get angry (see angry for more)"
},
antonyms=set({}),
relatedWords=set({}),
examples={
"He who angers you conquers you.",
"You anger too easily."
})
},
pronounciation={
"(UK) IPA: /ˈæŋɡə(ɹ)/", "(US) IPA: /ˈæŋɡɚ/",
"Rhymes: -æŋɡə(ɹ)", "Hyphenation: an‧ger"
},
audio={
"//upload.wikimedia.org/wikipedia/commons/d/dc/En-us-anger.ogg"
})
result=self.dictionary.get_meaning('anger') # internally calls WiktionaryParser().fetchself.assertEqual(result, expected)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error
version:
wiktionaryparser==0.0.97
python 3.8
I came accross this when I was testing the parser with the word "anger"
The text was updated successfully, but these errors were encountered: