lux.processor.Parser.Parser

class lux.processor.Parser.Parser[source]

The parser takes in the user’s input specifications (with string description fields), then generates the Lux internal specification through lux.Clause.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

parse(intent)

Given the string description from a list of input Clauses (intent), assign the appropriate clause.attribute, clause.filter_op, and clause.value.