ResumeParser icon indicating copy to clipboard operation
ResumeParser copied to clipboard

How to make it run in java web based application instead of console application

Open Rizzlance opened this issue 7 years ago • 11 comments

Rizzlance avatar Jun 09 '17 07:06 Rizzlance

Please share the code @antonydeepak if you don't mind

Rizzlance avatar Jun 09 '17 08:06 Rizzlance

Not sure about your question. The code is in the "Code" tab right here in github.

gogsbread avatar Jun 10 '17 18:06 gogsbread

i mean i want to use your code in web based application

Rizzlance avatar Jun 10 '17 18:06 Rizzlance

If it is just for internal development purpose, just call the binary from whatever web framework you intend to use.

If you want to make it a proper webservice, you have to refactor the code a lot. At the very minimal a) Initialize(Gate.init(); ResumeParserProgram.java) the gate during your web framework initialization. b) During your API(action method or whatever your framework calls it) invocation, get the resume and add it to the corpus(corpus.add(resume); ResumeParserProgram.java) and perform each stage(name, title, job description etc..) of the parsing. Ideally you want to modularize the code into different classes and create interfaces for every stage, so that the processing pipeline is easy to understand.

hmmm.. I intend to do all this but just not finding the right moment.

Thanks Antony

On Sat, Jun 10, 2017 at 11:39 AM, Rizzlance [email protected] wrote:

i mean i want to use your code in web based application

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/antonydeepak/ResumeParser/issues/30#issuecomment-307582874, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF-1M-fKkJYilLEDeVnrr1_QLOvpgYzks5sCuLhgaJpZM4N1AVp .

-- Antony

gogsbread avatar Jun 10 '17 19:06 gogsbread

Basically i m creating web based resume managment system in java for my client and my client want resume parser feature but i m not as experience as you are so if you can help me to by implementing resume parser web service i will be very thankful to you ..

Rizzlance avatar Jun 10 '17 19:06 Rizzlance

This is the right moment if u can do it then it will be worth alot for all and especially for me :)

Rizzlance avatar Jun 10 '17 19:06 Rizzlance

Try running it in eclipse. Just go to the root folder and import it into eclipse.

ZealousShumbh avatar Jun 14 '17 14:06 ZealousShumbh

@Rizzlance I have exposed this as a service using Docker. Feel free to check this docker repository

argoyal avatar Jan 12 '18 08:01 argoyal

Nice.. :)

On Fri, Jan 12, 2018 at 12:13 AM, Arpit Goyal [email protected] wrote:

@Rizzlance https://github.com/rizzlance I have exposed this as a service using Docker. Feel free to check this https://hub.docker.com/r/spotmentor/parser-api/docker repository

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/antonydeepak/ResumeParser/issues/30#issuecomment-357171142, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF-1GqK1uFGaw_D8SzxZ53PIY6-PuCCks5tJxQmgaJpZM4N1AVp .

-- Antony

gogsbread avatar Jan 15 '18 03:01 gogsbread

Hello @argoyal Is it possible to publish the dockerfile please ? I need to make some changes a republish as a docker image. Thanks.

hberrayana avatar Sep 27 '18 08:09 hberrayana

@Rizzlance I have exposed this as a service using Docker. Feel free to check this docker repository

Hi @Rizzlance, would you mind to share the steps to run the service? I never used Docker before.

teohsinyee avatar Apr 05 '22 03:04 teohsinyee