I've added a patch to maybe help complete what may have been started.
The patch makes both -lang and -encoding options a requirment. Usually enclosing any option in  means the entire option is completely optional, this really isn't the case anymore.
The next half of the patch checks both lang and encoding for non-null values before continuing.
The last actually uses the lang value when calling the train function...
Other usefull things may be to add a way to get the valid encoding names, and supported lang values... ie: "en", "es", etc...
Log in to post a comment.