Hi Timothy, thanks for your reply. I'm not trying to learn what the language of a document is, I'm actually just trying to see if the language of the document was set and if so, what it was set to. That said, do you recall how to get the language metadata?
Thanks, Branden On Wed, Jul 20, 2016 at 6:12 AM, Allison, Timothy B. <talli...@mitre.org> wrote: > This doesn't answer your question on HWPF. > > Last I looked at this, a few years ago, I figured out how to get the language > via OLE, and it was so rarely populated that it was better to run language id > on the extracted content. For language id (in Java), consider optimaize or > yalder > > > > -----Original Message----- > From: Branden Visser [mailto:mrvis...@gmail.com] > Sent: Tuesday, July 19, 2016 6:38 PM > To: POI Users List <user@poi.apache.org> > Subject: Finding document language? > > Hi all, > > Does anyone know the best way to get the document language for both XWPF and > HWPF documents? > > I'm guessing if it's File > Properties > Custom, then it can be extracted > from the custom properties in XWPF, but is there a similar API available in > HWPF? > > Thanks, > Branden > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional > commands, e-mail: user-h...@poi.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org