2008-08-07 13:57:40 +00:00
|
|
|
#ifndef AFFUNCTIONS_H
|
|
|
|
#define AFFUNCTIONS_H
|
|
|
|
|
2008-07-29 11:03:26 +00:00
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
|
2008-08-08 03:23:34 +00:00
|
|
|
#include "aftypes.h"
|
|
|
|
|
|
|
|
namespace afp {
|
|
|
|
|
|
|
|
datum af_length (std::vector<datum> const &args);
|
|
|
|
datum af_lcase (std::vector<datum> const &args);
|
|
|
|
datum af_ccnorm (std::vector<datum> const &args);
|
|
|
|
datum af_rmdoubles (std::vector<datum> const &args);
|
|
|
|
datum af_specialratio (std::vector<datum> const &args);
|
|
|
|
datum af_rmspecials (std::vector<datum> const &args);
|
|
|
|
datum af_norm (std::vector<datum> const &args);
|
|
|
|
datum af_count (std::vector<datum> const &args);
|
|
|
|
|
|
|
|
std::string confusable_character_normalise(std::string const &orig);
|
|
|
|
std::string rmdoubles(std::string const &orig);
|
|
|
|
std::string rmspecials(std::string const &orig);
|
2008-07-29 11:03:26 +00:00
|
|
|
|
2008-08-08 03:23:34 +00:00
|
|
|
} // namespace afp
|
2008-08-07 13:57:40 +00:00
|
|
|
|
|
|
|
#endif /* !AFFUNCTIONS_H */
|