Switch to unified view

a/src/common/textsplit.h b/src/common/textsplit.h
...
...
74
    : m_flags(flags), m_maxWordLength(40), m_prevpos(-1)
74
    : m_flags(flags), m_maxWordLength(40), m_prevpos(-1)
75
    {
75
    {
76
    }
76
    }
77
    virtual ~TextSplit() {}
77
    virtual ~TextSplit() {}
78
78
79
    virtual void setMaxWordLength(int l)
80
    {
81
  m_maxWordLength = l;
82
    }
83
    /** Split text, emit words and positions. */
79
    /** Split text, emit words and positions. */
84
    virtual bool text_to_words(const string &in);
80
    virtual bool text_to_words(const string &in);
85
81
86
    /** Process one output word: to be implemented by the actual user class */
82
    /** Process one output word: to be implemented by the actual user class */
87
    virtual bool takeword(const string& term, 
83
    virtual bool takeword(const string& term,