Fix a typo in log message, and adjust code indentation
@@ -46,8 +46,11 @@ import opennlp.tools.util.InvalidFormatException;
/**
- * Parser for extracting features from text. Below features are extracted <br/>
+ * Parser for extracting features from text. Below features are extracted
+ *
+ * <ul>
* <li>Author Age</li>
+ * </ul>
*/
public class AgeRecogniser extends AbstractParser implements Initializable {
@@ -136,7 +139,7 @@ public class AgeRecogniser extends AbstractParser implements Initializable{
metadata.add(MD_KEY_ESTIMATED_AGE, Double.toString(predictAuthorAge) );
} catch (Exception e) {
- LOG.log(Level.SEVERE, "Age Predcitor is not avaialble. Please check wiki for detailed instructions", e);
+ LOG.log(Level.SEVERE, "Age Predictor is not available. Please check wiki for detailed instructions", e);
return;
}
