Re: Code parser?

2016-09-30 Thread Mark Kerzner
Nick, Marcus, thank you for your help. It works great, and one of the problems that I saw was indeed with my code, not Tika. Mark Mark Kerzner, SHMsoft , Book a call with me here Mobile: 713-724-2534 Skype: mark.kerzner1

Re: Code parser?

2016-09-29 Thread Nick Burch
On Wed, 28 Sep 2016, Mark Kerzner wrote: probably yes, but how do I tell it which parser to use? Today, I just do that String text = tika.parseToString(inputStream, metadata); and it know the parser. That might be your issue. It's quite hard to identify the language of a piece of source

Re: Code parser?

2016-09-28 Thread Mark Kerzner
code/SourceCodeParser.html > > Regards, > Markus > > -Original message- > > From:Mark Kerzner <mark.kerz...@shmsoft.com> > > Sent: Wednesday 28th September 2016 7:22 > > To: Tika User <user@tika.apache.org> > > Subject: Code parser? >

RE: Code parser?

2016-09-28 Thread Markus Jelsma
Tika User <user@tika.apache.org> > Subject: Code parser? > > Hi, > > I want Tika to parse source code files, primarily Java. Is there anything > special I need to do? > > Right now my code seems to recognize Java as Microsoft Office Document. > > Thank you, >