kulukimak / dkpro-core-asl

Automatically exported from code.google.com/p/dkpro-core-asl
0 stars 0 forks source link

Issue warning if document language is not a ISO language code #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As many components rely on the document language being a proper ISO two letter 
language code, a warning should be output if something else is set.

I just ran into the problem that a reader was setting "english" instead of "en" 
as the document language.
Components will then complain that no model for 
"something-model-english-something" has been found. On the first look this 
seems correct and is really confusing.

Original issue reported on code.google.com by torsten....@gmail.com on 31 Aug 2013 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by torsten....@gmail.com on 28 Feb 2014 at 11:48