presage  0.8.7
stringForwardTokenizer.h
Go to the documentation of this file.
00001 
00002 /******************************************************
00003  *  Presage, an extensible predictive text entry system
00004  *  ---------------------------------------------------
00005  *
00006  *  Copyright (C) 2008  Matteo Vescovi <matteo.vescovi@yahoo.co.uk>
00007 
00008     This program is free software; you can redistribute it and/or modify
00009     it under the terms of the GNU General Public License as published by
00010     the Free Software Foundation; either version 2 of the License, or
00011     (at your option) any later version.
00012 
00013     This program is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU General Public License for more details.
00017 
00018     You should have received a copy of the GNU General Public License along
00019     with this program; if not, write to the Free Software Foundation, Inc.,
00020     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00021                                                                              *
00022                                                                 **********(*)*/
00023 
00024 
00025 #ifndef PRESAGE_STRINGFORWARDTOKENIZER
00026 #define PRESAGE_STRINGFORWARDTOKENIZER
00027 
00028 #include "forwardTokenizer.h"
00029 
00030 class StringForwardTokenizer 
00031 : public ForwardTokenizer {
00032 public:
00033     StringForwardTokenizer(std::string& toBeTokenized,
00034                            const std::string blankspaces,
00035                            const std::string separators);
00036     virtual ~StringForwardTokenizer();
00037 
00038 //    /** Returns the number of tokens left.
00039 //     */
00040 //    virtual int countTokens();
00041 //
00042 //    /** Tests if there are more tokens.
00043 //     */
00044 //    virtual bool hasMoreTokens() const;
00045 //    
00046 //    /** Returns the next token.
00047 //     */
00048 //    virtual std::string nextToken();
00049 //
00050 //    /** Returns progress percentage.
00051 //     */
00052 //    virtual double progress() const;
00053 
00054 protected:
00055 
00056 private:
00057 
00058 };
00059 
00060 #endif // PRESAGE_STRINGFORWARDTOKENIZER