tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
unicodes.h
1 /**********************************************************************
2  * File: unicodes.h
3  * Description: Unicode related machinery
4  * Author: David Eger
5  * Created: Wed Jun 15 16:37:50 PST 2011
6  *
7  * (C) Copyright 2011, Google, Inc.
8  ** Licensed under the Apache License, Version 2.0 (the "License");
9  ** you may not use this file except in compliance with the License.
10  ** You may obtain a copy of the License at
11  ** http://www.apache.org/licenses/LICENSE-2.0
12  ** Unless required by applicable law or agreed to in writing, software
13  ** distributed under the License is distributed on an "AS IS" BASIS,
14  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  ** See the License for the specific language governing permissions and
16  ** limitations under the License.
17  *
18  **********************************************************************/
19 
20 #ifndef TESSERACT_CCUTIL_UNICODES_H_
21 #define TESSERACT_CCUTIL_UNICODES_H_
22 
23 namespace tesseract {
24 
25 extern const char *kUTF8LineSeparator;
26 extern const char *kUTF8ParagraphSeparator;
27 extern const char *kLRM; //< Left-to-Right Mark
28 extern const char *kRLM; //< Right-to-Left Mark
29 extern const char *kRLE; //< Right-to-Left Embedding
30 extern const char *kPDF; //< Pop Directional Formatting
31 
34 extern const char *kHyphenLikeUTF8[];
35 extern const char *kApostropheLikeUTF8[];
36 
37 } // namespace
38 
39 #endif // TESSERACT_CCUTIL_UNICODES_H_
const char * kRLE
Definition: unicodes.cpp:29
const char * kPDF
Definition: unicodes.cpp:30
const char * kUTF8ParagraphSeparator
Definition: unicodes.cpp:26
const char * kApostropheLikeUTF8[]
Definition: unicodes.cpp:48
Definition: baseapi.cpp:94
const char * kRLM
Definition: unicodes.cpp:28
const char * kUTF8LineSeparator
Definition: unicodes.cpp:25
const char * kLRM
Definition: unicodes.cpp:27
const char * kHyphenLikeUTF8[]
Definition: unicodes.cpp:32