diff --git a/INSTALL b/INSTALL index 22aa2e0ad2e58df29c7f91109b8732befdd3e734..f1bf217aa1738441f9ea857252f95ae9ab06cf0d 100644 --- a/INSTALL +++ b/INSTALL @@ -227,4 +227,3 @@ operates. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. - diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index d5bf0998fdae83dfcb559bace16882c3128853a8..0a53a932fff07fa73329f4e0a70137fb9297bc70 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,4 +1,4 @@ \ No newline at end of file +--> diff --git a/java/com/google/scrollview/ui/SVAbstractMenuItem.java b/java/com/google/scrollview/ui/SVAbstractMenuItem.java index a007bcf5bb0751d3c68533c47f2edb86796a07e3..a5c9c92d27ec9b079162b30286ef5a651d1fb702 100644 --- a/java/com/google/scrollview/ui/SVAbstractMenuItem.java +++ b/java/com/google/scrollview/ui/SVAbstractMenuItem.java @@ -55,4 +55,3 @@ abstract class SVAbstractMenuItem { */ public void performAction(SVWindow window, SVEventType eventType) {} } - diff --git a/java/com/google/scrollview/ui/SVCheckboxMenuItem.java b/java/com/google/scrollview/ui/SVCheckboxMenuItem.java index fa7fc6c08aae8ed87af7d4484a02170fc74b1067..7559702dc11f303ed010e81c2f2eb88dadf7e5a9 100644 --- a/java/com/google/scrollview/ui/SVCheckboxMenuItem.java +++ b/java/com/google/scrollview/ui/SVCheckboxMenuItem.java @@ -57,4 +57,3 @@ class SVCheckboxMenuItem extends SVAbstractMenuItem { return Boolean.toString(bvalue); } } - diff --git a/java/com/google/scrollview/ui/SVEmptyMenuItem.java b/java/com/google/scrollview/ui/SVEmptyMenuItem.java index 6880c06802fcfc76d0288895783ead9128902aa3..950bcb5bbd0e801e6051521917a6e8aea2ff2095 100644 --- a/java/com/google/scrollview/ui/SVEmptyMenuItem.java +++ b/java/com/google/scrollview/ui/SVEmptyMenuItem.java @@ -44,5 +44,3 @@ class SVEmptyMenuItem extends SVAbstractMenuItem { ScrollView.addMessage(svme); } } - - diff --git a/java/com/google/scrollview/ui/SVMenuItem.java b/java/com/google/scrollview/ui/SVMenuItem.java index 8b8f39cbda4d6c9c1664c513e9e3ea4de1aa5efe..932ab7cc5a51cbf6d6497f5a23b1228206f94425 100644 --- a/java/com/google/scrollview/ui/SVMenuItem.java +++ b/java/com/google/scrollview/ui/SVMenuItem.java @@ -58,4 +58,3 @@ class SVMenuItem extends SVAbstractMenuItem { return value; } } - diff --git a/java/com/google/scrollview/ui/SVSubMenuItem.java b/java/com/google/scrollview/ui/SVSubMenuItem.java index 0f4c5f5e208abce0bccfb9615cacd1ce96176020..ebcf36cbf72eca5c3adc005dffcd2c40274810f5 100644 --- a/java/com/google/scrollview/ui/SVSubMenuItem.java +++ b/java/com/google/scrollview/ui/SVSubMenuItem.java @@ -37,5 +37,3 @@ class SVSubMenuItem extends SVAbstractMenuItem { mi.add(jli); } } - - diff --git a/src/arch/Makefile.am b/src/arch/Makefile.am index 668d11c7f350c4f74c6ef62ecc52ab720407df34..a254bb52a6a416fb2b46ad8bd61bd13c3525c7f0 100644 --- a/src/arch/Makefile.am +++ b/src/arch/Makefile.am @@ -32,4 +32,3 @@ libtesseract_avx_la_SOURCES = dotproductavx.cpp libtesseract_avx2_la_SOURCES = intsimdmatrixavx2.cpp libtesseract_sse_la_SOURCES = dotproductsse.cpp intsimdmatrixsse.cpp - diff --git a/src/ccmain/Makefile.am b/src/ccmain/Makefile.am index 63e9ee110d0aa6cec33bc113a80f4dfc1ad3711d..e7a71b3e560b7d35fc30ca3c75a098c95061ebab 100644 --- a/src/ccmain/Makefile.am +++ b/src/ccmain/Makefile.am @@ -34,4 +34,3 @@ libtesseract_main_la_SOURCES = \ tessbox.cpp tessedit.cpp tesseractclass.cpp tessvars.cpp \ tfacepp.cpp thresholder.cpp \ werdit.cpp - diff --git a/src/ccmain/par_control.cpp b/src/ccmain/par_control.cpp index a81dc6a7f980acf876cca4e901799f9ccce28441..06ab70cf4173af1d4d711b795073afa07b2c4dea 100644 --- a/src/ccmain/par_control.cpp +++ b/src/ccmain/par_control.cpp @@ -70,5 +70,3 @@ void Tesseract::PrerecAllWordsPar(const GenericVector& words) { } } // namespace tesseract. - - diff --git a/src/ccmain/pgedit.cpp b/src/ccmain/pgedit.cpp index 818454831c1d7077e65bb9d492b8723fe1dc2294..6f1ac7af5d0a66ca4a72e0e16a36093bacfc1499 100644 --- a/src/ccmain/pgedit.cpp +++ b/src/ccmain/pgedit.cpp @@ -998,6 +998,3 @@ void Tesseract::blob_feature_display(PAGE_RES* page_res, #endif // GRAPHICS_DISABLED } // namespace tesseract - - - diff --git a/src/ccmain/thresholder.cpp b/src/ccmain/thresholder.cpp index 9a28d41d4552073f617293e00d73b4a3cd853098..5a193c32a913f747ec8a015bac97f57f68b487cc 100644 --- a/src/ccmain/thresholder.cpp +++ b/src/ccmain/thresholder.cpp @@ -330,4 +330,3 @@ void ImageThresholder::ThresholdRectToPix(Pix* src_pix, } } // namespace tesseract. - diff --git a/src/ccstruct/blamer.cpp b/src/ccstruct/blamer.cpp index 48c2fdecb332ce45cfb11fbade011f4301b97f34..a84e87f20d7f798e9545bf5fbd2fbde57c73befe 100644 --- a/src/ccstruct/blamer.cpp +++ b/src/ccstruct/blamer.cpp @@ -584,4 +584,3 @@ void BlamerBundle::SetMisAdaptionDebug(const WERD_CHOICE *best_choice, } } } - diff --git a/src/ccstruct/boxread.cpp b/src/ccstruct/boxread.cpp index 0eafe05a6701c1100250be77debfbcc1f0e38cb1..277b8ddba7c0b917214d661b2925f2b01dea82f7 100644 --- a/src/ccstruct/boxread.cpp +++ b/src/ccstruct/boxread.cpp @@ -237,4 +237,3 @@ void MakeBoxFileStr(const char* unichar_str, const TBOX& box, int page_num, box_str->add_str_int(" ", box.top()); box_str->add_str_int(" ", page_num); } - diff --git a/src/ccstruct/detlinefit.h b/src/ccstruct/detlinefit.h index 12afbb79bf6a24253347a21d3fbd8d4aa1cd4367..4dc645c67d137f75f3988b5324dcd05e65bcac57 100644 --- a/src/ccstruct/detlinefit.h +++ b/src/ccstruct/detlinefit.h @@ -160,5 +160,3 @@ class DetLineFit { } // namespace tesseract. #endif // TESSERACT_CCSTRUCT_DETLINEFIT_H_ - - diff --git a/src/ccstruct/dppoint.cpp b/src/ccstruct/dppoint.cpp index 37ee46363ae34a2c6f426bf3a5f1f70eeb6caba5..fe952bd9a4011bfc2979f3613f22b9304cf3e41f 100644 --- a/src/ccstruct/dppoint.cpp +++ b/src/ccstruct/dppoint.cpp @@ -95,4 +95,3 @@ void DPPoint::UpdateIfBetter(int64_t cost, int32_t steps, const DPPoint* prev, } } // namespace tesseract. - diff --git a/src/ccstruct/fontinfo.cpp b/src/ccstruct/fontinfo.cpp index 8fa4ceec4b2a8ddfa4636937fc718b6eedd8566e..30f3748abbb4d7b0b6133d6766f42e9a2227b7a1 100644 --- a/src/ccstruct/fontinfo.cpp +++ b/src/ccstruct/fontinfo.cpp @@ -244,4 +244,3 @@ bool write_set(FILE* f, const FontSet& fs) { } } // namespace tesseract. - diff --git a/src/ccutil/bitvector.cpp b/src/ccutil/bitvector.cpp index 68bb327131cb8818903e6db1059de5a049f027a0..729aa5f3e842e5ca880715f2988f66986436d686 100644 --- a/src/ccutil/bitvector.cpp +++ b/src/ccutil/bitvector.cpp @@ -265,5 +265,3 @@ void BitVector::Alloc(int length) { } // namespace tesseract. - - diff --git a/src/ccutil/indexmapbidi.cpp b/src/ccutil/indexmapbidi.cpp index 61477d0f94edaa375a5847e25093a2fe2ddf076a..fe9e083e55093a19a9f77890807ab63e4154fd05 100644 --- a/src/ccutil/indexmapbidi.cpp +++ b/src/ccutil/indexmapbidi.cpp @@ -247,4 +247,3 @@ int IndexMapBiDi::MapFeatures(const GenericVector& sparse, } } // namespace tesseract. - diff --git a/src/ccutil/serialis.cpp b/src/ccutil/serialis.cpp index 898d0d51fd7611f2f4d9bd00dcb1de53038ddec2..f351f5c1906b7c03efc3f4cce2e00f3f92ea82b4 100644 --- a/src/ccutil/serialis.cpp +++ b/src/ccutil/serialis.cpp @@ -163,4 +163,3 @@ int TFile::FWrite(const void* buffer, int size, int count) { } // namespace tesseract. - diff --git a/src/classify/Makefile.am b/src/classify/Makefile.am index 3eaa2aa65b6a66cb17d2f644cb2f4338b9413a39..9e48d41825f2d587db91f325ca47becbdd6463e3 100644 --- a/src/classify/Makefile.am +++ b/src/classify/Makefile.am @@ -35,5 +35,3 @@ libtesseract_classify_la_SOURCES = \ ocrfeatures.cpp outfeat.cpp picofeat.cpp protos.cpp \ sampleiterator.cpp shapeclassifier.cpp shapetable.cpp \ tessclassifier.cpp trainingsample.cpp trainingsampleset.cpp - - diff --git a/src/classify/errorcounter.cpp b/src/classify/errorcounter.cpp index df1eceea41b8ff4ee53ce73d8a699b0df74fb8bb..f8bb514b8cdcd6355d02f70082848113ab9e5896 100644 --- a/src/classify/errorcounter.cpp +++ b/src/classify/errorcounter.cpp @@ -500,8 +500,3 @@ void ErrorCounter::Counts::operator+=(const Counts& other) { } // namespace tesseract. - - - - - diff --git a/src/classify/sampleiterator.cpp b/src/classify/sampleiterator.cpp index 1353964c3021b86366054c1d3630c3061fceb105..9d52c4fbd48959fa09c8e18131f6ee2f236a1263 100644 --- a/src/classify/sampleiterator.cpp +++ b/src/classify/sampleiterator.cpp @@ -259,4 +259,3 @@ const UnicharAndFonts* SampleIterator::GetShapeEntry() const { } } // namespace tesseract. - diff --git a/src/classify/shapeclassifier.cpp b/src/classify/shapeclassifier.cpp index 4167831ef0b6085ec9c55587f9292817500ffb11..7c10d6fef0b8189b3ebd548bbcbd7a2ada490080 100644 --- a/src/classify/shapeclassifier.cpp +++ b/src/classify/shapeclassifier.cpp @@ -229,8 +229,3 @@ void ShapeClassifier::FilterDuplicateUnichars( } } // namespace tesseract. - - - - - diff --git a/src/classify/tessclassifier.cpp b/src/classify/tessclassifier.cpp index 8bd86c8144115f4348c1039407ade6670a359d89..de56e5280abb05f0035a606fecd9d806b9bfd3ae 100644 --- a/src/classify/tessclassifier.cpp +++ b/src/classify/tessclassifier.cpp @@ -83,5 +83,3 @@ int TessClassifier::DisplayClassifyAs( } } // namespace tesseract - - diff --git a/src/dict/Makefile.am b/src/dict/Makefile.am index 49359c42149234dfd20c0c1dda94e02b148a273b..d8670fd81955b0a78c5664b361fb3a103c1f6bb7 100644 --- a/src/dict/Makefile.am +++ b/src/dict/Makefile.am @@ -16,5 +16,3 @@ libtesseract_dict_la_SOURCES = \ context.cpp \ dawg.cpp dawg_cache.cpp dict.cpp hyphen.cpp \ permdawg.cpp stopper.cpp trie.cpp - - diff --git a/src/lstm/input.h b/src/lstm/input.h index 5bdefcb6ab0a7f518e3076301267af1b65d79a47..17ebbfb258110558cc180f4423dd8e64c0f9a250 100644 --- a/src/lstm/input.h +++ b/src/lstm/input.h @@ -102,4 +102,3 @@ class Input : public Network { } // namespace tesseract. #endif // TESSERACT_LSTM_INPUT_H_ - diff --git a/src/lstm/maxpool.cpp b/src/lstm/maxpool.cpp index a4e24ce809306b72eac6adc2a033e1dd6f122cfe..cf303739404870657f615b1f422f72523ad39913 100644 --- a/src/lstm/maxpool.cpp +++ b/src/lstm/maxpool.cpp @@ -83,4 +83,3 @@ bool Maxpool::Backward(bool debug, const NetworkIO& fwd_deltas, } // namespace tesseract. - diff --git a/src/lstm/maxpool.h b/src/lstm/maxpool.h index 99e765acdd04ed328038d55e6c5ec6d7c22ba997..24dc4ed2c7251c6769d65d539bd18804cf5f1a4e 100644 --- a/src/lstm/maxpool.h +++ b/src/lstm/maxpool.h @@ -67,4 +67,3 @@ class Maxpool : public Reconfig { #endif // TESSERACT_LSTM_MAXPOOL_H_ - diff --git a/src/lstm/networkbuilder.cpp b/src/lstm/networkbuilder.cpp index 275ce23d0cdddce0d190e3d0e1ad232b67ac1f21..c946cda2666fd004b4995a1e66d8a3da14c14e1c 100644 --- a/src/lstm/networkbuilder.cpp +++ b/src/lstm/networkbuilder.cpp @@ -485,4 +485,3 @@ Network* NetworkBuilder::ParseOutput(const StaticShape& input_shape, } } // namespace tesseract. - diff --git a/src/lstm/plumbing.cpp b/src/lstm/plumbing.cpp index a83d142623fd83b9b37ba3efd0a48ec4815528a4..bdd4852086dbe84a9c4b3ef216af7d025b33cbd6 100644 --- a/src/lstm/plumbing.cpp +++ b/src/lstm/plumbing.cpp @@ -244,4 +244,3 @@ void Plumbing::CountAlternators(const Network& other, double* same, } } // namespace tesseract. - diff --git a/src/lstm/plumbing.h b/src/lstm/plumbing.h index a2aa1f20d35e06655df87457b69f7972819a3f17..030a106011f09321ad5b0bfdbd401a31db637893 100644 --- a/src/lstm/plumbing.h +++ b/src/lstm/plumbing.h @@ -142,4 +142,3 @@ class Plumbing : public Network { } // namespace tesseract. #endif // TESSERACT_LSTM_PLUMBING_H_ - diff --git a/src/textord/alignedblob.cpp b/src/textord/alignedblob.cpp index 16d7874339dc9238619748969594f907fa0d039d..bf99d9bddc8220902a5acd7ac71e130ced9ffc5a 100644 --- a/src/textord/alignedblob.cpp +++ b/src/textord/alignedblob.cpp @@ -529,4 +529,3 @@ BLOBNBOX* AlignedBlob::FindAlignedBlob(const AlignedBlobParams& p, } } // namespace tesseract. - diff --git a/src/textord/drawtord.cpp b/src/textord/drawtord.cpp index 83071cf6910c248d908c7a28c2e5c6b931b10ae4..c0d1382142fdf61300121fb8bd97828b3084903f 100644 --- a/src/textord/drawtord.cpp +++ b/src/textord/drawtord.cpp @@ -418,4 +418,3 @@ void plot_row_cells( //draw words } #endif // GRAPHICS_DISABLED - diff --git a/src/textord/imagefind.cpp b/src/textord/imagefind.cpp index 0ea7f6068bd1d086a08afc17d7ff10e8cb015806..ebf55d655d687195c904ce1ea0752567a2d61dd8 100644 --- a/src/textord/imagefind.cpp +++ b/src/textord/imagefind.cpp @@ -1366,4 +1366,3 @@ void ImageFind::FindImagePartitions(Pix* image_pix, const FCOORD& rotation, } // namespace tesseract. - diff --git a/src/textord/linefind.cpp b/src/textord/linefind.cpp index 360a3fc4ff1e4e5b7f5e70fb42a7d4394e4dc1bf..27c33fd408f104d62a19035dface1823b6d56b04 100644 --- a/src/textord/linefind.cpp +++ b/src/textord/linefind.cpp @@ -771,4 +771,3 @@ void LineFinder::GetLineBoxes(bool horizontal_lines, } } // namespace tesseract. - diff --git a/src/training/classifier_tester.cpp b/src/training/classifier_tester.cpp index a904583ca1c1e36fea4abb83968131f3aa8f16a0..346218cacb9712436f6ce6c284a53ad6a0f116c2 100644 --- a/src/training/classifier_tester.cpp +++ b/src/training/classifier_tester.cpp @@ -139,9 +139,3 @@ int main(int argc, char **argv) { return 0; } /* main */ - - - - - - diff --git a/src/training/lstmtraining.cpp b/src/training/lstmtraining.cpp index 096e3e42fec2700a74629c83a684dd8569cd5dbe..ac7017c478e5759a580489408e163d982c196a16 100644 --- a/src/training/lstmtraining.cpp +++ b/src/training/lstmtraining.cpp @@ -210,5 +210,3 @@ int main(int argc, char **argv) { tprintf("Finished! Error rate = %g\n", trainer.best_error_rate()); return 0; } /* main */ - - diff --git a/src/training/tesstrain.sh b/src/training/tesstrain.sh index 03cec1b8f70c077ed43cec5bb2c1c22270ce56a2..57f2c907c3a639b4abe0c7b91cdfe0b2deeface4 100644 --- a/src/training/tesstrain.sh +++ b/src/training/tesstrain.sh @@ -77,5 +77,3 @@ else make__traineddata tlog "\nCompleted training for language '${LANG_CODE}'\n" fi - - diff --git a/src/training/unicharset_training_utils.cpp b/src/training/unicharset_training_utils.cpp index 05094d1969e11d6fc7f414484b3eab1c73dc9b9a..97459dba127298e33d0ff204ae53179d160eb184 100644 --- a/src/training/unicharset_training_utils.cpp +++ b/src/training/unicharset_training_utils.cpp @@ -207,4 +207,3 @@ void SetPropertiesForInputFile(const std::string& script_dir, } } // namespace tesseract - diff --git a/src/vs2010/tesseract/libtesseract.rc.in b/src/vs2010/tesseract/libtesseract.rc.in index 0ce9e9e1472f8df2ae4f14dfdb69f231343c46d7..98414acc72cf0f0c1990ca2c0c0bf5aa71cce3df 100644 --- a/src/vs2010/tesseract/libtesseract.rc.in +++ b/src/vs2010/tesseract/libtesseract.rc.in @@ -98,4 +98,3 @@ END ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED - diff --git a/src/vs2010/tesseract/tesseract.rc.in b/src/vs2010/tesseract/tesseract.rc.in index b431ac9798dfed4f51754b348e5668891b88b274..b4d309a246d0855ba1ee03d6f306671f3acc8416 100644 --- a/src/vs2010/tesseract/tesseract.rc.in +++ b/src/vs2010/tesseract/tesseract.rc.in @@ -98,4 +98,3 @@ END ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED - diff --git a/src/wordrec/lm_pain_points.cpp b/src/wordrec/lm_pain_points.cpp index e482cf9939f99028536699bae7cb6091a7a212be..c6a3428b614bda0f56a8979b30265bea73d77a4b 100644 --- a/src/wordrec/lm_pain_points.cpp +++ b/src/wordrec/lm_pain_points.cpp @@ -215,4 +215,3 @@ void LMPainPoints::RemapForSplit(int index) { } } // namespace tesseract - diff --git a/src/wordrec/params_model.h b/src/wordrec/params_model.h index df48d5bd915a19cb9304a6e199021a3979eee050..6414d2b810c11765aec8468d6bb723e57828bca8 100644 --- a/src/wordrec/params_model.h +++ b/src/wordrec/params_model.h @@ -86,4 +86,3 @@ class ParamsModel { } // namespace tesseract #endif // TESSERACT_WORDREC_PARAMS_MODEL_H_ - diff --git a/tessdata/configs/get.image b/tessdata/configs/get.image index 7c761be91c030dcb5f30a1eaec4328e8593e6667..7d00b613ffcbf7e4fa712d2c50a85c7643a027e3 100644 --- a/tessdata/configs/get.image +++ b/tessdata/configs/get.image @@ -1 +1 @@ -tessedit_write_images T \ No newline at end of file +tessedit_write_images T diff --git a/tessdata/tessconfigs/batch b/tessdata/tessconfigs/batch index 619b64675eebb4e974bcfc2c2f7fe261a345cdaf..a681e4a443fa21ce6f32bbcf0334af3433888566 100644 --- a/tessdata/tessconfigs/batch +++ b/tessdata/tessconfigs/batch @@ -1,2 +1 @@ # No content needed as all defaults are correct. - diff --git a/testing/FILES b/testing/FILES index 049691eba0f11fedf5799d89edadcd2619fe51ae..db1605a79e7e08bdb541d326eafc1723acdcb4d5 100644 --- a/testing/FILES +++ b/testing/FILES @@ -16,4 +16,3 @@ DuTillet1004Pg2LG.jpg - Sample from Hebrew Matthew Project with parallel texts hebrew-nikud-genesis-1-2.png - Genesis 1-2 Hebrew example from OCR forum forum post - https://community.logos.com/forums/p/16124/277997.aspx direct link to image - https://community.logos.com/cfs-filesystemfile.ashx/__key/CommunityServer.Discussions.Components.Files/77/4578.Gen.png - diff --git a/testing/README b/testing/README index 48024a90806c7822040011888de90fb2c29b9122..67fb50ca38a29ae8d33d93fb8569d7d45c3cd37b 100644 --- a/testing/README +++ b/testing/README @@ -40,4 +40,3 @@ and go to the gym, have lunch etc. Step 8: There should be a file testing/reports/tess2.0.summary that contains the final summarized accuracy report and comparison with the 1995 results. - diff --git a/testing/counttestset.sh b/testing/counttestset.sh old mode 100755 new mode 100644 index 4bce68da27b2d78635690b02009f179559b51b80..8e2fd63ab455842141bebdb38de696716c77a6b8 --- a/testing/counttestset.sh +++ b/testing/counttestset.sh @@ -57,5 +57,3 @@ do done <"$pages" testing/unlv/accsum "$accfiles" >"testing/reports/$setname.characc" testing/unlv/wordaccsum "$wafiles" >"testing/reports/$setname.wordacc" - -