Skip to content

Commit

Permalink
Remove "third_party/" in comments and update path names
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed May 24, 2019
1 parent 4382ab1 commit 9cdf041
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/ccutil/unicharset.h
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/training/tesstrain_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/training/tesstrain_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9cdf041

Please sign in to comment.