A simple ruby gem that parses a resume using the sovren resume parser and returns the resume back as a ruby object.
This is for the Saas version of Sovren, using their web service as the end point. Use the Sovren gem for pointing to your own install of the Sovren resume parsing service.
The output from Sovren remains unchanged, this gem simply changes the way a client connects to and communicates with the Saas version of Sovren.
Add this line to your application's Gemfile:
gem 'sovren_saas'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sovren_saas
To parse a resume:
-
Create a client
client = SovrenSaas::Client.new(endpoint: "http://services.resumeparsing.com/ResumeService.asmx?wsdl", account_id: "YOUR ACCTID", service_key: "YOUR SERVICE KEY")
-
Parse a resume
resume = client.parse(File.read('/path/to/your/file/resume.doc'))
To parse a job order:
1.) Create the client
```ruby
client =SovrenSaas::Client.new(endpoint: "https://services.resumeparsing.com/ParsingService.asmx?wsdl", account_id: "YOUR ACCTID", service_key: "YOUR SERVICE KEY") }
```
2.) Parse the job order
```ruby
resume = client.parse_job_order(job_text)
```
* note that only parsing jobs as text is currently supported. Support for binaries still needs to be done.
The testing could use some more coverage for other hr-xml use cases. I also haven't added any of the sovren specific fields returned but those could be added if you need them.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request