Common¶
Fieldnames¶
-
class
cardbuilder.common.Fieldname(value)[source]¶ An enumeration representing the possible types of data that Cardbuilder data sources can return. This class is primarily useful when constructing data source output or when specifying what data should be resolved to a specific field in the Field class constructor.
-
ANTONYMS= 'ants'¶
-
AUDIO= 'aud'¶
-
BLANK= 'blank'¶
-
DEFINITIONS= 'def'¶
-
DETAILED_READING= 'rubi'¶
-
EXAMPLE_SENTENCES= 'exst'¶
-
FOUND_FORM= 'form'¶
-
INFLECTIONS= 'infs'¶
-
KATAKANA= 'kana'¶
-
LINKS= 'link'¶
-
PART_OF_SPEECH= 'pos'¶
-
PITCH_ACCENT= 'acnt'¶
-
PRONUNCIATION_IPA= 'ipa'¶
-
READING= 'read'¶
-
SUPPLEMENTAL= 'supp'¶
-
SYNONYMS= 'syns'¶
-
WORD= 'word'¶
-
WRITINGS= 'writ'¶
-
Languages¶
-
class
cardbuilder.common.Language(value)[source]¶ An enumeration representing the languages that Cardbuilder supports. The string corresponding to each language is its ISO 639-1 code (see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
-
ENGLISH= 'eng'¶
-
ESPERANTO= 'epo'¶
-
HEBREW= 'heb'¶
-
JAPANESE= 'jpn'¶
-