16#ifndef BOWNAMEDENTITY_H
17#define BOWNAMEDENTITY_H
42 const uint64_t position,
43 const uint64_t length);
48 const uint64_t position,
49 const uint64_t length);
62 const std::map<std::string, LimaString>&
getFeatures()
const;
72 std::string getFeaturesUTF8String(
void)
const;
75 virtual std::string getIdUTF8String(
void)
const override;
This is a complex token used to represent a named entity token.
const std::map< std::string, LimaString > & getFeatures() const
virtual BoWNamedEntity * clone() const override
void setNamedEntityType(const Common::MediaticData::EntityType &)
virtual BoWType getType() const override
BoWNamedEntity & operator=(const BoWNamedEntity &)
virtual std::set< uint64_t > getVertices() const override
returns a singleton made of the value of the getVertex function.
Common::MediaticData::EntityType getNamedEntityType(void) const
friend class BoWNamedEntityPrivate
bool operator==(const BoWNamedEntity &)
void setFeature(const std::string &attribute, const LimaString &value)
virtual std::set< uint64_t > getVertices() const override
returns a singleton made of the value of the getVertex function.
Provide tools to manage a specific property.
BoWType
enum to characterize the type of the AbstractBoWElement
@ BOW_NAMEDENTITY
the AbstractBoWElement is a named entity