Skip to content

Commit 9cdf041

Browse files
committed
Remove "third_party/" in comments and update path names
Signed-off-by: Stefan Weil <[email protected]>
1 parent 4382ab1 commit 9cdf041

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/ccutil/unicharset.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// File: unicharset.h
33
// Description: Unicode character/ligature set class.
44
// Author: Thomas Kielbus
5-
// Created: Wed Jun 28 17:05:01 PDT 2006
65
//
76
// (C) Copyright 2006, Google Inc.
87
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -153,7 +152,7 @@ class UNICHARSET {
153152
// List of strings for the SpecialUnicharCodes. Keep in sync with the enum.
154153
static TESS_API const char* kSpecialUnicharCodes[SPECIAL_UNICHAR_CODES_COUNT];
155154

156-
// ICU 2.0 UCharDirection enum (from third_party/icu/include/unicode/uchar.h)
155+
// ICU 2.0 UCharDirection enum (from icu/include/unicode/uchar.h)
157156
enum Direction {
158157
U_LEFT_TO_RIGHT = 0,
159158
U_RIGHT_TO_LEFT = 1,

src/training/tesstrain_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def phase_UP_generate_unicharset(ctx):
490490

491491
# # Punctuation DAWG
492492
# # -r arguments to wordlist2dawg denote RTL reverse policy
493-
# # (see Trie::RTLReversePolicy enum in third_party/tesseract/dict/trie.h).
493+
# # (see Trie::RTLReversePolicy enum in tesseract/src/dict/trie.h).
494494
# # We specify 0/RRP_DO_NO_REVERSE when generating number DAWG,
495495
# # 1/RRP_REVERSE_IF_HAS_RTL for freq and word DAWGS,
496496
# # 2/RRP_FORCE_REVERSE for the punctuation DAWG.

src/training/tesstrain_utils.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ phase_D_generate_dawg() {
386386
387387
# Punctuation DAWG
388388
# -r arguments to wordlist2dawg denote RTL reverse policy
389-
# (see Trie::RTLReversePolicy enum in third_party/tesseract/dict/trie.h).
389+
# (see Trie::RTLReversePolicy enum in tesseract/src/dict/trie.h).
390390
# We specify 0/RRP_DO_NO_REVERSE when generating number DAWG,
391391
# 1/RRP_REVERSE_IF_HAS_RTL for freq and word DAWGS,
392392
# 2/RRP_FORCE_REVERSE for the punctuation DAWG.

0 commit comments

Comments
 (0)