1 /* 2 * Copyright 2006-2008 The FLWOR Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 #include "stdafx.h" 17 18 #include "util/cxx_util.h" 19 20 #include "ft_types.h" 21 22 namespace zorba { 23 24 namespace ft_anyall_mode { 25 char const *const string_of[] = { 26 "any", 27 "any word", 28 "all", 29 "all words", 30 "phrase", 31 nullptr 32 }; 33 } 34 35 namespace ft_big_unit { 36 char const *const string_of[] = { 37 "sentence", 38 "paragraph", 39 nullptr 40 }; 41 } 42 43 namespace ft_case_mode { 44 char const *const string_of[] = { 45 "case insensitive", 46 "case sensitive", 47 "lower", 48 "upper", 49 nullptr 50 }; 51 } 52 53 namespace ft_content_mode { 54 char const *const string_of[] = { 55 "at start", 56 "at end", 57 "entire", 58 nullptr 59 }; 60 }; 61 62 namespace ft_diacritics_mode { 63 char const *const string_of[] = { 64 "diacritics insensitive", 65 "diacritics sensitive", 66 nullptr 67 }; 68 } 69 70 namespace ft_range_mode { 71 char const *const string_of[] = { 72 "exactly", 73 "at least", 74 "at most", 75 "from to", 76 nullptr 77 }; 78 } 79 80 namespace ft_scope { 81 char const *const string_of[] = { 82 "same", 83 "different", 84 nullptr 85 }; 86 } 87 88 namespace ft_stem_mode { 89 char const *const string_of[] = { 90 "no stemming", 91 "stemming", 92 nullptr 93 }; 94 } 95 96 namespace ft_stop_words_mode { 97 char const *const string_of[] = { 98 "without", 99 "with", 100 "with default", 101 nullptr 102 }; 103 } 104 105 namespace ft_stop_words_unex { 106 char const *const string_of[] = { 107 "union", 108 "except", 109 nullptr 110 }; 111 } 112 113 namespace ft_unit { 114 char const *const string_of[] = { 115 "words", 116 "sentences", 117 "paragraphs", 118 nullptr 119 }; 120 } 121 122 namespace ft_wild_card_mode { 123 char const *const string_of[] = { 124 "no wildcards", 125 "wildcards", 126 nullptr 127 }; 128 } 129 130 } // namespace zorba 131 /* vim:set et sw=2 ts=2: */ 132