Python API class rl3.SharedText

From RL3 Wiki
Jump to: navigation, search

rl3.SharedText class overview

rl3.SharedText class enables to work with SharedText objects (that should be created in case multiple facts could be found in different parts of one text instance).

constructor

New SharedText objects are created only through the BaseEngine class factory (by using the create_sharedtext functions in classes derived from the rl3.BaseEngine class).

New SharedText objects must not be created through the __init__ constructor directly.

del

def __del__(self):

Delete a SharedText object.

get_value

def get_value(self):

Get value of a SharedText object.

Returns: a string (text)