Skip to content
Snippets Groups Projects
Select Git revision
  • 0d0fe2f9e96ea92142d65ba96d6d7f42124dc268
  • master default protected
  • johannes
  • partial_parser
  • Aloui_Dary
  • ignore_punct
  • AC
  • classifier
  • fixhelp
  • libmacaon2
  • error_predictor
  • morpho
  • ssrnn
  • tfparsing
  • silvio
  • tagger_options
  • maca_trans_frame_parser
  • alexis
  • new_config
  • tagparse
  • maca_graph_parser
21 results

context.c

Blame
  • util.hpp 424 B
    #ifndef UTIL__H
    #define UTIL__H
    
    #include <string>
    
    bool isSeparator(char c);
    bool isNewline(char c);
    std::string getFilenameFromPath(const std::string & s);
    unsigned int lengthPrinted(const std::string & s);
    bool isNum(char c);
    //bool isNum(const std::string & s);
    bool endSentence(char c);
    bool endLine(char c);
    void toLowerCase(std::string & s, unsigned int i);
    void toUpperCase(std::string & s, unsigned int i);
    
    #endif