0.0
No commit activity in last 3 years
No release in over 3 years
A gem to parse out and "translate" elements of Japanese Patent Office Actions
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

>= 0

Runtime

>= 1.0.0, ~> 1.0
>= 0
 Project Readme

OA Templater

  • Build Status
  • Gem Version

Pulls out relevant data from an Office Action from the Japanese Patent Office.

oa = OaTemplater::OA.new(ARGV[0], ARGV[1])
oa.set_templates(kyozetsuriyu: "./kyozetsuriyu.docx",
                 kyozetsusatei: "kyozetsusatei.docx",
                 shinnen: "shinnen.docx")
oa.set_reasons_file(File.join(File.dirname(__FILE__), "templates", "reasons.yml"))
buffer = oa.scan

#write to oa.outputfile (e.g. ALP31232.ๆ‹’็ตถ็†็”ฑ.20140602.docx)
oa.finish 

#or manually
File.open(oa.outputfile, 'wb') { |f| f.write(buffer.string) }