class documentation

class BabelVersion(MultiValueEnum):

View In Hierarchy

BabelNet version enumeration.

Class Method from_string Gets a version of BabelNet from a string
Class Method latest_version Return the latest version of BabelNet.
Constant LIVE Undocumented
Constant PRE_2_0 Undocumented
Constant UNKNOWN Undocumented
Constant V2_0 Undocumented
Constant V2_0_1 Undocumented
Constant V2_5 Undocumented
Constant V2_5_1 Undocumented
Constant V3_0 Undocumented
Constant V3_1 Undocumented
Constant V3_5 Undocumented
Constant V3_6 Undocumented
Constant V3_7 Undocumented
Constant V4_0 Undocumented
Constant V5_0 Undocumented
Constant V5_1 Undocumented
Constant V5_2 Undocumented
Property ordinal The ordinal of the version.
Property release_date The release date of the version.
Method __repr__ Undocumented
Method __str__ Undocumented
@classmethod
def from_string(cls, version_str):

Gets a version of BabelNet from a string

Parameters
version_str:strthe string to use
Returns
BabelVersionThe version of BabelNet associated to the string passed as input.
@classmethod
def latest_version(cls):

Return the latest version of BabelNet.

Returns
BabelVersionthe version of BabelNet
LIVE =

Undocumented

Value
('LIVE', date.today(), 15)
PRE_2_0 =

Undocumented

Value
('< 2.0', date(2013, 1, 15), 1)
UNKNOWN: tuple =

Undocumented

Value
('unknown', None)
V2_0 =

Undocumented

Value
('2.0', date(2014, 3, 2), 2)
V2_0_1 =

Undocumented

Value
('2.0.1', date(2014, 3, 10), 3)
V2_5 =

Undocumented

Value
('2.5', date(2014, 11, 5), 4)
V2_5_1 =

Undocumented

Value
('2.5.1', date(2014, 11, 15), 5)
V3_0 =

Undocumented

Value
('3.0', date(2014, 12, 20), 6)
V3_1 =

Undocumented

Value
('3.1', date(2015, 2, 15), 7)
V3_5 =

Undocumented

Value
('3.5', date(2015, 9, 10), 8)
V3_6 =

Undocumented

Value
('3.6', date(2016, 1, 15), 9)
V3_7 =

Undocumented

Value
('3.7', date(2016, 8, 5), 10)
V4_0 =

Undocumented

Value
('4.0', date(2018, 1, 10), 11)
V5_0 =

Undocumented

Value
('5.0', date(2021, 2, 1), 12)
V5_1 =

Undocumented

Value
('5.1', date(2022, 4, 10), 13)
V5_2 =

Undocumented

Value
('5.2', date(2022, 11, 23), 14)
@property
ordinal: int =

The ordinal of the version.

@property
release_date: datetime.date =

The release date of the version.

def __repr__(self):

Undocumented

def __str__(self):

Undocumented