module documentation

This module manages the BabelNet Lucene index.

Class OfflineIndex The offline version of the BNIndex.
Function instance Get an instance of the OfflineIndex
Constant _MAXIMUM_NUMBER_OF_IMAGES Undocumented
Constant _MAXIMUM_NUMBER_OF_SYNSETS Undocumented
Constant _OEWN_PREFIX Undocumented
Constant _SEPARATOR Synset id separator (e.g., bn:00000001, UNR:00000001)
Constant _USE_IMAGE_FILTER Undocumented
Constant _WN2020_PREFIX Undocumented
Constant _WN30_PREFIX Undocumented
Variable _log logger
def instance():

Get an instance of the OfflineIndex

Returns
OfflineIndexthe instance
_MAXIMUM_NUMBER_OF_IMAGES: int =

Undocumented

Value
5000
_MAXIMUM_NUMBER_OF_SYNSETS: int =

Undocumented

Value
5000
_OEWN_PREFIX: str =

Undocumented

Value
'oewn:'
_SEPARATOR: str =

Synset id separator (e.g., bn:00000001, UNR:00000001)

Value
':'
_USE_IMAGE_FILTER: bool =

Undocumented

Value
False
_WN2020_PREFIX: str =

Undocumented

Value
'wn2020:'
_WN30_PREFIX: str =

Undocumented

Value
'wn:'
_log =

logger