class documentation

class BabelDomain(Enum):

View In Hierarchy

Domain of a BabelSynset.

Class Method from_position Return the BabelDomain of the position given in input.
Method __init__ init method
Method value Return the value of self
Constant ANIMALS deprecated domain merged with BIOLOGY
Constant ART_ARCHITECTURE_AND_ARCHAEOLOGY Art (painting, visual arts, sculpture, etc.; except for music, dance, poetry, photography and theatre), architecture (construction, buildings, etc.), archaeology (sites, finds etc.), prehistory.
Constant BIOLOGY Biology; animals, plants and their classifications, microorganisms.
Constant BUSINESS_ECONOMICS_AND_FINANCE deprecated domain merged with BUSINESS_INDUSTRY_AND_FINANCE
Constant BUSINESS_INDUSTRY_AND_FINANCE Business, industry, economy, finance, management, money.
Constant CHEMISTRY_AND_MINERALOGY Chemistry, compounds, chemicals, minerals, mineralogy.
Constant COMMUNICATION_AND_TELECOMMUNICATION Communication (oral, written, etc.) and telecommunication (telegraph, telephone, TV, radio, fax, Internet, etc.) means.
Constant COMPUTING Computer science, computing, hardware and software.
Constant CRAFT_ENGINEERING_AND_TECHNOLOGY Crafts (handicraft, skilled work, etc.), engineering, technology.
Constant CULTURE_AND_SOCIETY deprecated domain merged with CULTURE_ANTHROPOLOGY_AND_SOCIETY
Constant CULTURE_ANTHROPOLOGY_AND_SOCIETY Concepts affecting local and global culture and society; social behavior, trends, norms and expectations in human society; anthropology.
Constant EDUCATION deprecated domain merged with EDUCATION_AND_SCIENCE
Constant EDUCATION_AND_SCIENCE Education, teaching, students; science and general scientific concepts (specific concepts go to the various domains: mathematics, physics, astronomy, biology, chemistry, geology, computing, etc.).
Constant EMOTIONS_AND_FEELINGS Feelings and emotions.
Constant ENGINEERING_AND_TECHNOLOGY deprecated domain merged with CRAFT_ENGINEERING_AND_TECHNOLOGY
Constant ENVIRONMENT deprecated domain merged with ENVIRONMENT_AND_METEOROLOGY
Constant ENVIRONMENT_AND_METEOROLOGY Natural environment and its preservation; ecology; natural events (fires, rains, typhoons, etc.); meteorology, weather conditions.
Constant FARMING deprecated domain merged with FARMING_FISHING_AND_HUNTING
Constant FARMING_FISHING_AND_HUNTING Farming, agriculture; plant cultivation, livestock raising; fishing; hunting.
Constant FISHING_AND_HUNTING deprecated domain merged with FARMING_FISHING_AND_HUNTING
Constant FOOD_AND_DRINK deprecated domain merged with FOOD_DRINK_AND_TASTE
Constant FOOD_DRINK_AND_TASTE Food, drinks, flavors, sense of taste; eating places (bars, pubs, restaurants), food events.
Constant GAMES_AND_VIDEO_GAMES deprecated domain merged with SPORT_GAMES_AND_RECREATION
Constant GEOGRAPHY_AND_PLACES deprecated domain merged with GEOGRAPHY_GEOLOGY_AND_PLACES
Constant GEOGRAPHY_GEOLOGY_AND_PLACES Geography and geographical concepts (continents, countries, regions, provinces, cities, towns, villages, rivers, hills, mountains, plains, etc.); geology and geological concepts (solid Earth, rocks, geological processes, earthquakes, volcanos, etc...
Constant GEOLOGY_AND_GEOPHYSICS deprecated domain merged with GEOGRAPHY_GEOLOGY_AND_PLACES
Constant HEALTH_AND_MEDICINE Human health and medicine; diseases, drugs and prescriptions; physical, mental and social well-being.
Constant HERALDRY_HONORS_AND_VEXILLOLOGY Armory, vexillology, honors, ranks.
Constant HISTORY Events of the past occurred after the invention of writing systems (for prehistory, see archaeology).
Constant LANGUAGE_AND_LINGUISTICS Languages, linguistics, idiomatic expressions, phrases.
Constant LAW_AND_CRIME Laws, justice, judges, police, crimes, criminal minds and behaviors.
Constant LITERATURE_AND_THEATRE Literature, authors, books, novels, poetry, plays, theatre.
Constant MATHEMATICS deprecated domain merged with MATHEMATICS_AND_STATISTICS
Constant MATHEMATICS_AND_STATISTICS Mathematics, statistics, numbers, mathematical operations and functions, mathematical and statistical concepts.
Constant MEDIA deprecated domain merged with MEDIA_AND_PRESS
Constant MEDIA_AND_PRESS Mass media such as print media (news media, newspapers, magazines, etc.), publishing, photography, cinema (films, directors, screenwriters, etc.), broadcasting (radio and television), and advertising.
Constant METEOROLOGY deprecated domain merged with ENVIRONMENT_AND_METEOROLOGY
Constant MUSIC deprecated domain merged with MUSIC_SOUND_AND_DANCING
Constant MUSIC_SOUND_AND_DANCING Sound, sounds, hearing; music, songs, music artists, composers; dances, dancing, dancers.
Constant NAVIGATION_AND_AVIATION Nautical and aviation concepts: vessels and aircrafts; pilots; sea and air traveling.
Constant NUMISMATICS_AND_CURRENCIES Currencies and their study.
Constant PHILOSOPHY_AND_PSYCHOLOGY deprecated domain merged with PHILOSOPHY_PSYCHOLOGY_AND_BEHAVIOR
Constant PHILOSOPHY_PSYCHOLOGY_AND_BEHAVIOR Philosophical concepts, philosophers; psychology, psychological concepts; human behavior.
Constant PHYSICS_AND_ASTRONOMY Physics and astronomy.
Constant POLITICS_AND_GOVERNMENT deprecated domain merged with POLITICS_GOVERNMENT_AND_NOBILITY
Constant POLITICS_GOVERNMENT_AND_NOBILITY Politics, political leaders and representatives; government; nobility.
Constant POSSESSION Concepts of possession; items which tend to belong to people.
Constant RELIGION_MYSTICISM_AND_MYTHOLOGY Religions, faiths, beliefs, mysticism, mythological creatures, myths.
Constant ROYALTY_AND_NOBILITY deprecated domain merged with POLITICS_GOVERNMENT_AND_NOBILITY
Constant SEX Sexual connotation; sexual activities; sexual reproduction; sexology.
Constant SMELL_AND_PERFUME Sense of smell; good and bad smells.
Constant SOLID_LIQUID_AND_GAS_MATTER The states of matter (solid, liquid, gas).
Constant SPACE_AND_TOUCH Concepts of space and the sense of touch; dimensionality, proprioception (sense of position and movement) and haptic perception.
Constant SPORT_AND_RECREATION deprecated domain merged with SPORT_GAMES_AND_RECREATION
Constant SPORT_GAMES_AND_RECREATION Sports, games and video games, recreation (pastimes, hobbies, etc.)
Constant TASKS_JOBS_ROUTINE_AND_EVALUATION Tasks, chores, activities, jobs; evaluation, validation, marking, checking, correcting.
Constant TEXTILE_AND_CLOTHING deprecated domain merged with TEXTILE_FASHION_AND_CLOTHING
Constant TEXTILE_FASHION_AND_CLOTHING Fabric, clothes, clothing, footwear, lifestyle, accessories, makeup, hairstyle, fashion, fashion designers.
Constant TIME Temporal concepts; time; events.
Constant TRANSPORT_AND_TRAVEL Transport, modes of transportation, transportation activities; travels, trips, traveling, travelers, tourism.
Constant VISION_AND_VISUAL Visual concepts (visual perception, sight, colors, visibility, except spatial concepts).
Constant VISUAL deprecated domain merged with VISION_AND_VISUAL
Constant WARFARE_AND_DEFENSE deprecated domain merged with WARFARE_VIOLENCE_AND_DEFENSE
Constant WARFARE_VIOLENCE_AND_DEFENSE Wars, battles, warfare, physical violence, personal and country defense, secret agencies.
Property description The description of the domain.
Property domain_string The original name of the domain.
Method __repr__ Undocumented
Method __str__ Undocumented
Instance Variable _description a description of the domain
Instance Variable _domain_string the name of the domain as a strin
@classmethod
def from_position(cls, position):

Return the BabelDomain of the position given in input.

Parameters
position:intThe position of the requested BabelDomain.
Returns
BabelDomainThe corresponding BabelDomain.
Raises
ValueErrorif the position is invalid
def __init__(self, domain_string, description):

init method

Parameters
domain_string:strthe domain as a string
description:stra description od the domain
def value(self):

Return the value of self

Returns
"BabelDomain"The value of self
ANIMALS: BabelDomain =

deprecated domain merged with BIOLOGY

Value
('Animals', '')
ART_ARCHITECTURE_AND_ARCHAEOLOGY: BabelDomain =

Art (painting, visual arts, sculpture, etc.; except for music, dance, poetry, photography and theatre), architecture (construction, buildings, etc.), archaeology (sites, finds etc.), prehistory.

Value
('Art, architecture, and archaeology',
 'Art (painting, visual arts, sculpture, etc. except for music, dance, poetry, p
hotography and theatre), architecture (construction, buildings, etc.), archaeolo
gy (sites, finds etc.), prehistory.')
BIOLOGY: BabelDomain =

Biology; animals, plants and their classifications, microorganisms.

Value
('Biology',
 'Biology; animals, plants and their classifications, microorganisms.')
BUSINESS_ECONOMICS_AND_FINANCE: BabelDomain =

deprecated domain merged with BUSINESS_INDUSTRY_AND_FINANCE

Value
('Business, economics, and finance', '')
BUSINESS_INDUSTRY_AND_FINANCE: BabelDomain =

Business, industry, economy, finance, management, money.

Value
('Business, industry and finance',
 'Business, industry, economy, finance, management, money.')
CHEMISTRY_AND_MINERALOGY: BabelDomain =

Chemistry, compounds, chemicals, minerals, mineralogy.

Value
('Chemistry and mineralogy',
 'Chemistry, compounds, chemicals, minerals, mineralogy.')
COMMUNICATION_AND_TELECOMMUNICATION: BabelDomain =

Communication (oral, written, etc.) and telecommunication (telegraph, telephone, TV, radio, fax, Internet, etc.) means.

Value
('Communication and telecommunication',
 'Communication (oral, written, etc.) and telecommunication (telegraph, telephon
e, TV, radio, fax, Internet, etc.) means.')
COMPUTING: BabelDomain =

Computer science, computing, hardware and software.

Value
('Computing', 'Computer science, computing, hardware and software.')
CRAFT_ENGINEERING_AND_TECHNOLOGY: BabelDomain =

Crafts (handicraft, skilled work, etc.), engineering, technology.

Value
('Craft, engineering and technology',
 'Crafts (handicraft, skilled work, etc.), engineering, technology.')
CULTURE_AND_SOCIETY: BabelDomain =

deprecated domain merged with CULTURE_ANTHROPOLOGY_AND_SOCIETY

Value
('Culture and society', '')
CULTURE_ANTHROPOLOGY_AND_SOCIETY: BabelDomain =

Concepts affecting local and global culture and society; social behavior, trends, norms and expectations in human society; anthropology.

Value
('Culture, anthropology and society',
 'Concepts affecting local and global culture and society; social behavior, tren
ds, norms and expectations in human society; anthropology.')
EDUCATION: BabelDomain =

deprecated domain merged with EDUCATION_AND_SCIENCE

Value
('Education', '')
EDUCATION_AND_SCIENCE: BabelDomain =

Education, teaching, students; science and general scientific concepts (specific concepts go to the various domains: mathematics, physics, astronomy, biology, chemistry, geology, computing, etc.).

Value
('Education and science',
 'Education, teaching, students; science and general scientific concepts (specif
ic concepts go to the various domains: mathematics, physics, astronomy, biology,
 chemistry, geology, computing, etc.).')
EMOTIONS_AND_FEELINGS: BabelDomain =

Feelings and emotions.

Value
('Emotions and feelings', 'Feelings, emotions, emotional states and reactions.')
ENGINEERING_AND_TECHNOLOGY: BabelDomain =

deprecated domain merged with CRAFT_ENGINEERING_AND_TECHNOLOGY

Value
('Engineering and technology', '')
ENVIRONMENT: BabelDomain =

deprecated domain merged with ENVIRONMENT_AND_METEOROLOGY

Value
('Environment', '')
ENVIRONMENT_AND_METEOROLOGY: BabelDomain =

Natural environment and its preservation; ecology; natural events (fires, rains, typhoons, etc.); meteorology, weather conditions.

Value
('Environment and meteorology',
 'Natural environment and its preservation; ecology; natural events (fires, rain
s, typhoons, etc.); meteorology, weather conditions.')
FARMING: BabelDomain =

deprecated domain merged with FARMING_FISHING_AND_HUNTING

Value
('Farming', '')
FARMING_FISHING_AND_HUNTING: BabelDomain =

Farming, agriculture; plant cultivation, livestock raising; fishing; hunting.

Value
('Farming, fishing and hunting',
 'Farming, agriculture; plant cultivation, livestock raising; fishing; hunting.'
)
FISHING_AND_HUNTING: BabelDomain =

deprecated domain merged with FARMING_FISHING_AND_HUNTING

Value
('Fishing and hunting', '')
FOOD_AND_DRINK: BabelDomain =

deprecated domain merged with FOOD_DRINK_AND_TASTE

Value
('Food and drink', '')
FOOD_DRINK_AND_TASTE: BabelDomain =

Food, drinks, flavors, sense of taste; eating places (bars, pubs, restaurants), food events.

Value
('Food, drink and taste',
 'Food, drinks, flavors, sense of taste; eating places (bars, pubs, restaurants)
, food events.')
GAMES_AND_VIDEO_GAMES: BabelDomain =

deprecated domain merged with SPORT_GAMES_AND_RECREATION

Value
('Games and video games', '')
GEOGRAPHY_AND_PLACES: BabelDomain =

deprecated domain merged with GEOGRAPHY_GEOLOGY_AND_PLACES

Value
('Geography and places', '')
GEOGRAPHY_GEOLOGY_AND_PLACES: BabelDomain =

Geography and geographical concepts (continents, countries, regions, provinces, cities, towns, villages, rivers, hills, mountains, plains, etc.); geology and geological concepts (solid Earth, rocks, geological processes, earthquakes, volcanos, etc.); geophysics; places.

Value
('Geography, geology and places',
 'Geography and geographical concepts (continents, countries, regions, provinces
, cities, towns, villages, rivers, hills, mountains, plains, etc.); geology and 
geological concepts (solid Earth, rocks, geological processes, earthquakes, volc
anos, etc.); geophysics; places.')
GEOLOGY_AND_GEOPHYSICS: BabelDomain =

deprecated domain merged with GEOGRAPHY_GEOLOGY_AND_PLACES

Value
('Geology and geophysics', '')
HEALTH_AND_MEDICINE: BabelDomain =

Human health and medicine; diseases, drugs and prescriptions; physical, mental and social well-being.

Value
('Health and medicine',
 'Human health and medicine; diseases, drugs and prescriptions; physical, mental
 and social well-being.')
HERALDRY_HONORS_AND_VEXILLOLOGY: BabelDomain =

Armory, vexillology, honors, ranks.

Value
('Heraldry, honors, and vexillology', 'Armory, vexillology, honors, ranks.')
HISTORY: BabelDomain =

Events of the past occurred after the invention of writing systems (for prehistory, see archaeology).

Value
('History',
 'Events of the past occurred after the invention of writing systems (for prehis
tory, see archaeology).')
LANGUAGE_AND_LINGUISTICS: BabelDomain =

Languages, linguistics, idiomatic expressions, phrases.

Value
('Language and linguistics',
 'Languages, linguistics, idiomatic expressions, phrases.')
LAW_AND_CRIME: BabelDomain =

Laws, justice, judges, police, crimes, criminal minds and behaviors.

Value
('Law and crime',
 'Laws, justice, judges, police, crimes, criminal minds and behaviors.')
LITERATURE_AND_THEATRE: BabelDomain =

Literature, authors, books, novels, poetry, plays, theatre.

Value
('Literature and theatre',
 'Literature, authors, books, novels, poetry, plays, theatre.')
MATHEMATICS: BabelDomain =

deprecated domain merged with MATHEMATICS_AND_STATISTICS

Value
('Mathematics', '')
MATHEMATICS_AND_STATISTICS: BabelDomain =

Mathematics, statistics, numbers, mathematical operations and functions, mathematical and statistical concepts.

Value
('Mathematics and statistics',
 'Mathematics, statistics, numbers, mathematical operations and functions, mathe
matical and statistical concepts.')
MEDIA: BabelDomain =

deprecated domain merged with MEDIA_AND_PRESS

Value
('Media', '')
MEDIA_AND_PRESS: BabelDomain =

Mass media such as print media (news media, newspapers, magazines, etc.), publishing, photography, cinema (films, directors, screenwriters, etc.), broadcasting (radio and television), and advertising.

Value
('Media and press',
 'Mass media such as print media (news media, newspapers, magazines, etc.), publ
ishing, photography, cinema (films, directors, screenwriters, etc.), broadcastin
g (radio and television), and advertising.')
METEOROLOGY: BabelDomain =

deprecated domain merged with ENVIRONMENT_AND_METEOROLOGY

Value
('Meteorology', '')
MUSIC: BabelDomain =

deprecated domain merged with MUSIC_SOUND_AND_DANCING

Value
('Music', '')
MUSIC_SOUND_AND_DANCING: BabelDomain =

Sound, sounds, hearing; music, songs, music artists, composers; dances, dancing, dancers.

Value
('Music, sound and dancing',
 'Sound, sounds, hearing; music, songs, music artists, composers; dances, dancin
g, dancers.')
NAVIGATION_AND_AVIATION: BabelDomain =

Nautical and aviation concepts: vessels and aircrafts; pilots; sea and air traveling.

Value
('Navigation and aviation',
 'Nautical and aviation concepts: vessels and aircrafts; pilots; sea and air tra
veling.')
NUMISMATICS_AND_CURRENCIES: BabelDomain =

Currencies and their study.

Value
('Numismatics and currencies', 'Currencies and their study.')
PHILOSOPHY_AND_PSYCHOLOGY: BabelDomain =

deprecated domain merged with PHILOSOPHY_PSYCHOLOGY_AND_BEHAVIOR

Value
('Philosophy and psychology', '')
PHILOSOPHY_PSYCHOLOGY_AND_BEHAVIOR: BabelDomain =

Philosophical concepts, philosophers; psychology, psychological concepts; human behavior.

Value
('Philosophy, psychology and behavior',
 'Philosophical concepts, philosophers; psychology, psychological concepts; huma
n behavior.')
PHYSICS_AND_ASTRONOMY: BabelDomain =

Physics and astronomy.

Value
('Physics and astronomy',
 'Physics, physical measures and phenomena, matter, its motion and energy; astro
nomical concepts, celestial objects, space, physical universe.')
POLITICS_AND_GOVERNMENT: BabelDomain =

deprecated domain merged with POLITICS_GOVERNMENT_AND_NOBILITY

Value
('Politics and government', '')
POLITICS_GOVERNMENT_AND_NOBILITY: BabelDomain =

Politics, political leaders and representatives; government; nobility.

Value
('Politics, government and nobility',
 'Politics, political leaders and representatives; government; nobility.')
POSSESSION: BabelDomain =

Concepts of possession; items which tend to belong to people.

Value
('Possession', 'Concepts of possession; items which tend to belong to people.')
RELIGION_MYSTICISM_AND_MYTHOLOGY: BabelDomain =

Religions, faiths, beliefs, mysticism, mythological creatures, myths.

Value
('Religion, mysticism and mythology',
 'Religions, faiths, beliefs, mysticism, mythological creatures, myths.')
ROYALTY_AND_NOBILITY: BabelDomain =

deprecated domain merged with POLITICS_GOVERNMENT_AND_NOBILITY

Value
('Royalty and nobility', '')
SEX: BabelDomain =

Sexual connotation; sexual activities; sexual reproduction; sexology.

Value
('Sex', 'Sexual connotation; sexual activities; sexual reproduction; sexology.')
SMELL_AND_PERFUME: BabelDomain =

Sense of smell; good and bad smells.

Value
('Smell and perfume', 'Sense of smell; good and bad smells.')
SOLID_LIQUID_AND_GAS_MATTER: BabelDomain =

The states of matter (solid, liquid, gas).

Value
('Solid, liquid and gas matter', 'The states of matter (solid, liquid, gas).')
SPACE_AND_TOUCH: BabelDomain =

Concepts of space and the sense of touch; dimensionality, proprioception (sense of position and movement) and haptic perception.

Value
('Space and touch',
 'Concepts of space and the sense of touch; dimensionality, proprioception (sens
e of position and movement) and haptic perception.')
SPORT_AND_RECREATION: BabelDomain =

deprecated domain merged with SPORT_GAMES_AND_RECREATION

Value
('Sport and recreation', '')
SPORT_GAMES_AND_RECREATION: BabelDomain =

Sports, games and video games, recreation (pastimes, hobbies, etc.)

Value
('Sport, games and recreation',
 'Sports, games and video games, recreation (pastimes, hobbies, etc.)')
TASKS_JOBS_ROUTINE_AND_EVALUATION: BabelDomain =

Tasks, chores, activities, jobs; evaluation, validation, marking, checking, correcting.

Value
('Tasks, jobs, routine and evaluation',
 'Tasks, chores, activities, jobs; evaluation, validation, marking, checking, co
rrecting.')
TEXTILE_AND_CLOTHING: BabelDomain =

deprecated domain merged with TEXTILE_FASHION_AND_CLOTHING

Value
('Textile and clothing', '')
TEXTILE_FASHION_AND_CLOTHING: BabelDomain =

Fabric, clothes, clothing, footwear, lifestyle, accessories, makeup, hairstyle, fashion, fashion designers.

Value
('Textile, fashion and clothing',
 'Fabric, clothes, clothing, footwear, lifestyle, accessories, makeup, hairstyle
, fashion, fashion designers.')
TIME: BabelDomain =

Temporal concepts; time; events.

Value
('Time', 'Temporal concepts; time; events.')
TRANSPORT_AND_TRAVEL: BabelDomain =

Transport, modes of transportation, transportation activities; travels, trips, traveling, travelers, tourism.

Value
('Transport and travel',
 'Transport, modes of transportation, transportation activities; travels, trips,
 traveling, travelers, tourism.')
VISION_AND_VISUAL: BabelDomain =

Visual concepts (visual perception, sight, colors, visibility, except spatial concepts).

Value
('Vision and visual',
 'Visual concepts (visual perception, sight, colors, visibility, except spatial 
concepts).')
VISUAL: BabelDomain =

deprecated domain merged with VISION_AND_VISUAL

Value
('Visual',
 'Visual concepts (visual perception, sight, colors, visibility, except spatial 
concepts).')
WARFARE_AND_DEFENSE: BabelDomain =

deprecated domain merged with WARFARE_VIOLENCE_AND_DEFENSE

Value
('Warfare and defense', '')
WARFARE_VIOLENCE_AND_DEFENSE: BabelDomain =

Wars, battles, warfare, physical violence, personal and country defense, secret agencies.

Value
('Warfare, violence and defense',
 'Wars, battles, warfare, physical violence, personal and country defense, secre
t agencies.')
@property
description: str =

The description of the domain.

@property
domain_string: str =

The original name of the domain.

def __repr__(self):

Undocumented

def __str__(self):

Undocumented

_description: str =

a description of the domain

_domain_string: str =

the name of the domain as a strin