const.cpp 1.72 KB

#include "const.hpp"

namespace morfeusz {
    
    extern const Charset DEFAULT_MORFEUSZ_CHARSET = UTF8;

    extern const unsigned char SHIFT_ORTH_NODE = 1;

    extern const char HOMONYM_SEPARATOR = ':';

    extern const char LABELS_SEPARATOR = '|';

    extern const char FILESYSTEM_PATH_SEPARATOR = '/';

    extern const std::string COPYRIGHT_TEXT = 
    "Copyright © 2014–2021 by Institute of Computer Science, Polish Academy of\n\
Science\n\
\n\
All rights reserved.\n\
\n\
Redistribution and use in source and binary forms, with or without\n\
modification, are permitted provided that the following conditions are\n\
met:\n\
\n\
Redistributions of source code must retain the above copyright notice,\n\
this list of conditions and the following disclaimer.\n\
Redistributions in binary form must reproduce the above copyright\n\
notice, this list of conditions and the following disclaimer in the\n\
documentation and/or other materials provided with the distribution.\n\
\n\
THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDERS “AS IS” AND ANY EXPRESS\n\
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n\
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n\
DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE\n\
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n\
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n\
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n\
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\n\
THE POSSIBILITY OF SUCH DAMAGE.\n";
}