14#ifndef BOWTOKENPRIVATE_H
15#define BOWTOKENPRIVATE_H
42 const std::map<BoWToken*,uint64_t>& refMap);
46 const std::map<BoWToken*,uint64_t>& refMap);
50 const uint64_t position,
51 const uint64_t length);
53 const uint64_t position=0,
54 const uint64_t length=0);
static LimaChar m_separator
static LimaChar m_compoundSeparator
static bool m_useOnlyLemma
LinguisticCode m_category
friend std::ostream & operator<<(std::ostream &, const BoWToken &)
BoWTokenPrivate(const Lima::LimaString &lemma, const LinguisticCode category, const uint64_t position, const uint64_t length)
virtual ~BoWTokenPrivate()
BoWTokenPrivate(const Lima::LimaString &str, const uint64_t position=0, const uint64_t length=0)
BoWTokenPrivate & operator=(const BoWTokenPrivate &tok)
Lima::LimaString m_inflectedForm
bool operator==(const BoWTokenPrivate &tok)
void convertSpaces(void)
convert the spaces in the lemma string into a non-space character (defined by the m_compoundSeparator...
This class contains the representation of an element of the bag of words.