src/ccstruct/pageres.cpp
UNICHAR_ID WERD_RES::BothSpaces(UNICHAR_ID id1, UNICHAR_ID id2) {
  if (id1 == id2 && id1 == uch_set->unichar_to_id(" ")) {
    return id1;
  } else {
    return INVALID_UNICHAR_ID;
  }
}
// Callback helper for merge_tess_fails returns a space if both
// arguments are space, otherwise INVALID_UNICHAR_ID.
Callback helper for merge_tess_fails returns a space if both
arguments are space, otherwise INVALID_UNICHAR_ID.
Callback helper for merge_tess_fails returns a space if both arguments are space otherwise INVALID_UNICHAR_ID .
UNICHAR_ID WERD_RES::BothSpaces(UNICHAR_ID id1, UNICHAR_ID id2) {
  if (id1 == id2 && id1 == uch_set->unichar_to_id(" ")) {
    return id1;
  } else {
    return INVALID_UNICHAR_ID;
  }
}
UNICHAR_ID WERD_RES :: BothSpaces ( UNICHAR_ID id1 , UNICHAR_ID id2 ) { if ( id1 == id2 && id1 == uch_set -> unichar_to_id ( " " ) ) { return id1 ; } else { return INVALID_UNICHAR_ID ; } }
Callback helper for merge_tess_fails returns a space if both
arguments are space, otherwise INVALID_UNICHAR_ID.
Callback helper for merge_tess_fails returns a space if both arguments are space otherwise INVALID_UNICHAR_ID .