convlab2.util.camrest package

Submodules

convlab2.util.camrest.dbquery module

class convlab2.util.camrest.dbquery.Database

Bases: object

query(constraints)

Returns the list of entities for a given domain based on the annotation of the belief state

convlab2.util.camrest.lexicalize module

convlab2.util.camrest.lexicalize.deflat_da(meta)
convlab2.util.camrest.lexicalize.delexicalize_da(da, requestable)
convlab2.util.camrest.lexicalize.flat_da(delexicalized_da)
convlab2.util.camrest.lexicalize.lexicalize_da(meta, entities, state, requestable)

convlab2.util.camrest.state module

convlab2.util.camrest.state.default_state()

Module contents