diff --git a/tess-two/src/com/googlecode/leptonica/android/Binarize.java b/tess-two/src/com/googlecode/leptonica/android/Binarize.java
index 6641c76e0..b765d66c5 100644
--- a/tess-two/src/com/googlecode/leptonica/android/Binarize.java
+++ b/tess-two/src/com/googlecode/leptonica/android/Binarize.java
@@ -154,7 +154,7 @@ public static Pix sauvolaBinarizeTiled(Pix pixs) {
* Notes:
*
* - The window width and height are 2 * whsize + 1. The minimum
- * value for whsize is 2; typically it is >= 7.
+ * value for whsize is 2; typically it is >= 7.
*
- For nx == ny == 1, this defaults to pixSauvolaBinarize().
*
- Why a tiled version?
* (a) Because the mean value accumulator is a uint32, overflow
@@ -169,7 +169,7 @@ public static Pix sauvolaBinarizeTiled(Pix pixs) {
* where:
* t = local threshold
* m = local mean
- * k = @factor (>= 0) [ typ. 0.35 ]
+ * k = @factor (>= 0) [ typ. 0.35 ]
* s = local standard deviation, which is maximized at
* 127.5 when half the samples are 0 and half are 255.
*
- The basic idea of Niblack and Sauvola binarization is that
@@ -180,9 +180,9 @@ public static Pix sauvolaBinarizeTiled(Pix pixs) {
*
* @param pixs An 8 bpp PIX source image.
* @param whsize Window half-width for measuring local statistics
- * @param factor Factor for reducing threshold due to variance; >= 0
- * @param nx Subdivision into tiles; >= 1
- * @param ny Subdivision into tiles; >= 1
+ * @param factor Factor for reducing threshold due to variance; >= 0
+ * @param nx Subdivision into tiles; >= 1
+ * @param ny Subdivision into tiles; >= 1
* @return A 1 bpp thresholded PIX image.
*/
public static Pix sauvolaBinarizeTiled(Pix pixs, int whsize, float factor, int nx, int ny) {
diff --git a/tess-two/src/com/googlecode/leptonica/android/Clip.java b/tess-two/src/com/googlecode/leptonica/android/Clip.java
index b4fa0bbc7..49bf07b8b 100644
--- a/tess-two/src/com/googlecode/leptonica/android/Clip.java
+++ b/tess-two/src/com/googlecode/leptonica/android/Clip.java
@@ -33,7 +33,6 @@ public class Clip {
* This should be simple, but there are choices to be made. The box is
* defined relative to the pix coordinates. However, if the box is not
* contained within the pix, we have two choices:
- *
*
(1) clip the box to the pix
*
(2) make a new pix equal to the full box dimensions,
* but let rasterop do the clipping and positioning
diff --git a/tess-two/src/com/googlecode/leptonica/android/Edge.java b/tess-two/src/com/googlecode/leptonica/android/Edge.java
index ccce11416..984cf5b15 100644
--- a/tess-two/src/com/googlecode/leptonica/android/Edge.java
+++ b/tess-two/src/com/googlecode/leptonica/android/Edge.java
@@ -52,7 +52,6 @@ public class Edge {
* using pixThresholdToBinary(). If the high edge values are to be fg (1),
* invert after running pixThresholdToBinary().
*
- Label the pixels as follows:
- *
*
1 4 7
*
2 5 8
*
3 6 9
diff --git a/tess-two/src/com/googlecode/leptonica/android/MorphApp.java b/tess-two/src/com/googlecode/leptonica/android/MorphApp.java
index 474525a13..7297abf58 100644
--- a/tess-two/src/com/googlecode/leptonica/android/MorphApp.java
+++ b/tess-two/src/com/googlecode/leptonica/android/MorphApp.java
@@ -122,8 +122,8 @@ public static Pix pixFastTophatWhite(Pix pixs) {
*
*
* @param pixs Source pix (8bpp)
- * @param xsize width of max/min op, smoothing; any integer >= 1
- * @param ysize height of max/min op, smoothing; any integer >= 1
+ * @param xsize width of max/min op, smoothing; any integer >= 1
+ * @param ysize height of max/min op, smoothing; any integer >= 1
* @param type L_TOPHAT_WHITE: image - min, or L_TOPHAT_BLACK: max - image
* @return a new Pix image
*/
diff --git a/tess-two/src/com/googlecode/tesseract/android/PageIterator.java b/tess-two/src/com/googlecode/tesseract/android/PageIterator.java
index 6cd8a7c26..18952a517 100644
--- a/tess-two/src/com/googlecode/tesseract/android/PageIterator.java
+++ b/tess-two/src/com/googlecode/tesseract/android/PageIterator.java
@@ -70,7 +70,7 @@ public boolean next(int level) {
* ============= Accessing data ==============.
*
* Coordinate system:
- *
+ *
* - Integer coordinates are at the cracks between the pixels.
*
- The top-left corner of the top-left pixel in the image is at (0,0).
*
- The bottom-right corner of the bottom-right pixel in the image is at
@@ -78,7 +78,7 @@ public boolean next(int level) {
*
- Every bounding box goes from the top-left of the top-left contained
* pixel to the bottom-right of the bottom-right contained pixel, so
* the bounding box of the single top-left pixel in the image is:
- * (0,0)->(1,1).
+ * (0,0)->(1,1).
*
- If an image rectangle has been set in the API, then returned coordinates
* relate to the original (full) image, rather than the rectangle.
*
diff --git a/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java b/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java
index b3cf14596..33846c6df 100644
--- a/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java
+++ b/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java
@@ -256,7 +256,7 @@ public TessBaseAPI(ProgressNotifier progressNotifier) {
* multiple times on the same instance to change language, or just to reset
* the classifier.
*
- * The language may be a string of the form [~][+[~]]* indicating
+ * The language may be a string of the form {@code [~][+[~]]*} indicating
* that multiple languages are to be loaded. Eg hin+eng will load Hindi and
* English. Languages may specify internally that they want to be loaded
* with one or more other languages, so the ~ sign is available to override