From bed089092a44147373df728bebb9f46c0e020311 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 24 May 2019 14:12:52 +0200 Subject: [PATCH] Remove "third_party/" in comments and update path names Signed-off-by: Stefan Weil --- src/ccutil/unicharset.h | 3 +-- src/training/tesstrain_utils.py | 2 +- src/training/tesstrain_utils.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ccutil/unicharset.h b/src/ccutil/unicharset.h index 9b5e2d39..779877c5 100644 --- a/src/ccutil/unicharset.h +++ b/src/ccutil/unicharset.h @@ -2,7 +2,6 @@ // File: unicharset.h // Description: Unicode character/ligature set class. // Author: Thomas Kielbus -// Created: Wed Jun 28 17:05:01 PDT 2006 // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); @@ -153,7 +152,7 @@ class UNICHARSET { // List of strings for the SpecialUnicharCodes. Keep in sync with the enum. static TESS_API const char* kSpecialUnicharCodes[SPECIAL_UNICHAR_CODES_COUNT]; - // ICU 2.0 UCharDirection enum (from third_party/icu/include/unicode/uchar.h) + // ICU 2.0 UCharDirection enum (from icu/include/unicode/uchar.h) enum Direction { U_LEFT_TO_RIGHT = 0, U_RIGHT_TO_LEFT = 1, diff --git a/src/training/tesstrain_utils.py b/src/training/tesstrain_utils.py index b7e638de..0b70d9b9 100644 --- a/src/training/tesstrain_utils.py +++ b/src/training/tesstrain_utils.py @@ -490,7 +490,7 @@ def phase_UP_generate_unicharset(ctx): # # Punctuation DAWG # # -r arguments to wordlist2dawg denote RTL reverse policy -# # (see Trie::RTLReversePolicy enum in third_party/tesseract/dict/trie.h). +# # (see Trie::RTLReversePolicy enum in tesseract/src/dict/trie.h). # # We specify 0/RRP_DO_NO_REVERSE when generating number DAWG, # # 1/RRP_REVERSE_IF_HAS_RTL for freq and word DAWGS, # # 2/RRP_FORCE_REVERSE for the punctuation DAWG. diff --git a/src/training/tesstrain_utils.sh b/src/training/tesstrain_utils.sh index 323f3436..9b0efb6b 100644 --- a/src/training/tesstrain_utils.sh +++ b/src/training/tesstrain_utils.sh @@ -386,7 +386,7 @@ phase_D_generate_dawg() { # Punctuation DAWG # -r arguments to wordlist2dawg denote RTL reverse policy - # (see Trie::RTLReversePolicy enum in third_party/tesseract/dict/trie.h). + # (see Trie::RTLReversePolicy enum in tesseract/src/dict/trie.h). # We specify 0/RRP_DO_NO_REVERSE when generating number DAWG, # 1/RRP_REVERSE_IF_HAS_RTL for freq and word DAWGS, # 2/RRP_FORCE_REVERSE for the punctuation DAWG.