34namespace LinguisticProcessing {
61 uint64_t numberOfConstraints()
const;
62 bool contextual()
const;
63 bool negative()
const;
64 const std::vector<Constraint>& getActions()
const;
65 const std::vector<std::pair<LimaString,Constraint> >& getActionsWithOneArgument()
const;
67 const std::string&
getRuleId()
const {
return m_ruleId; }
75 void setNumberOfConstraints(
const uint64_t);
76 void incrementNumberOfConstraints();
77 void setContextual(
const bool);
78 void setNegative(
const bool);
83 { m_hasLeftRightConstraint=v; }
84 void setRuleId(
const std::string& ruleId) { m_ruleId=ruleId; }
149 void copy(
const Rule& r);
#define LIMA_AUTOMATON_EXPORT
QDebug & operator<<(QDebug &qd, const std::string &str)
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
␈rief a class for control parameters for the search using the automata
␈rief A class for the description of automata
Automaton const & leftAutomaton() const
bool m_hasLeftRightConstraint
uint64_t m_numberOfConstraints
uint64_t numberOfConstraints() const
Automaton const & rightAutomaton() const
void incrementNumberOfConstraints()
void setContextual(const bool)
const std::string & getRuleId() const
void setRightAutomaton(const Automaton &)
std::vector< Constraint > m_actions
void addAction(const Constraint &c)
LinguisticCode getLinguisticProperties() const
LimaString m_normalizedForm
void setLeftAutomaton(const Automaton &)
void setType(const Common::MediaticData::EntityType &)
void setRuleId(const std::string &ruleId)
void setLinguisticProperties(const LinguisticCode &)
TransitionUnit * m_trigger
void setWeight(const double &w)
const LimaString & getNormalizedForm() const
void setNegative(const bool)
void setNormalizedForm(const LimaString &)
void setNumberOfConstraints(const uint64_t)
Common::MediaticData::EntityType m_type
LinguisticCode m_lingProp
const std::vector< Constraint > & getActions() const
TransitionUnit * getTrigger() const
void setTrigger(TransitionUnit *)
std::vector< std::pair< LimaString, Constraint > > m_actionsWithOneArgument
Common::MediaticData::EntityType getType() const
const std::vector< std::pair< LimaString, Constraint > > & getActionsWithOneArgument() const
void setHasLeftRightConstraint(const bool v)
An AnalysisData containing a LinguisticGraph with a language and an id.
std::vector< ConstraintCheckListElement > ConstraintCheckList
static bool operator<(const QStringView &entityStr, const TextHtmlEntity &entity)