David Howden
5f823f60ba
client: remove dependency on docconv pkg
2017-05-01 22:57:45 +10:00
David Howden
19d8f51611
Merge branch 'fix-pdfinfo'
2017-05-01 21:56:23 +10:00
Hamish
f8faf6b7ad
Change meta to pass back all original meta
2017-05-01 20:44:39 +10:00
Hamish
1ee82490eb
Merge pull request #29 from sajari/client
...
Client for http added
2017-04-13 08:38:26 +10:00
David Howden
e6efc5e525
client: allow the protocol to be overridden
2017-04-13 08:32:46 +10:00
David Howden
a87f97a8ce
client: use son decoder instead of fetching and then unmarshalling
2017-04-13 08:32:30 +10:00
David Howden
c5b473dd3d
client: refactor to be more cross-platform friendly
...
Use io.Reader in the Convert method and allow setting of
underlying http.Client.
2017-04-12 22:55:53 +10:00
Hamish
1e5329cd7c
Minor bug fix in readme
2017-04-12 21:28:20 +10:00
Hamish
9f4d4ccd0f
Add an http client to make requests to a docconv server
2017-04-12 21:27:40 +10:00
David Howden
bef9214a46
Merge branch 'docker-improve'
2017-04-12 21:19:11 +10:00
Hamish
9b5bcd9f08
fixes to pass review
2017-04-12 20:06:24 +10:00
Hamish
fe119de10d
Update the readme to explain Docker builds
2017-04-12 14:16:23 +10:00
Hamish
77540e74a0
Added debian docker build script
2017-04-12 14:05:13 +10:00
Hamish
715a0a29b0
Add alpine docker build with locked dependencies
...
Reduces the container size to <40MB and locks versions for consistency
Note: the install.sh allows everything to be done in one Docker RUN
command, otherwise the image is an order of magnitude larger
2017-04-12 14:04:49 +10:00
Hamish
55c98b00fd
Remove incorrect comments from Dockerfile
2017-02-20 14:55:08 +11:00
David Howden
5328bda931
Update README.
...
Fixed references to docconv tool to correctly use docd.
2016-10-31 17:53:15 +11:00
David Howden
aba88e2e49
Update README
...
Tidy up installation instructions.
2016-10-31 15:37:25 +11:00
Hamish
0f690876f5
Add Dockerfile
2016-09-19 09:23:22 +10:00
Hamish
58ce7c24db
Fix typos in readme
2016-03-21 09:09:13 +11:00
David Howden
1aedf1aea3
Merge pull request #22 from barbourkd/downcase-filetype
...
Make compatible with uppercase file extensions
2016-02-04 08:12:36 +11:00
Kevin Barbour
2d55e09f96
make compatible with uppercase file extensions
2016-02-03 13:24:36 -05:00
David Howden
25e15ad9ea
Merge pull request #21 from guilhermebr/master
...
fix goose ExtractFromURL multiple-value return
2015-12-04 06:54:51 +11:00
Guilherme Rezende
691924be14
fix goose ExtractFromURL multiple-value return
2015-12-03 14:30:37 -02:00
David Howden
9e8e9950f5
Added TODO.
2015-11-22 17:04:13 +11:00
David Howden
3d57cd4776
Refactored languages -> langs.
2015-11-22 17:04:06 +11:00
David Howden
84f60b0a19
SetLanguages -> SetImageLanguages.
2015-11-22 17:03:40 +11:00
David Howden
e7b6f7af37
Remove unnecessary whitespace.
2015-11-22 17:00:04 +11:00
David Howden
ce99698a25
Merge pull request #20 from guilhermebr/master
...
fix goose error changing from g.ExtractFromUrl to g.ExtractFromURL and add languages option to images_ocr
2015-11-22 12:04:02 +11:00
Guilherme Rezende
d7f5e0e9aa
fix build and add SetLanguages to images
2015-11-21 12:14:20 -02:00
Guilherme Rezende
8ed27aa85a
add mutex to language in images_ocr
2015-11-21 12:13:22 -02:00
Guilherme Rezende
46df1a2290
add languages option to images_ocr
2015-11-20 17:31:12 -02:00
Guilherme Rezende
7a33fe96e0
fix goose error changing from g.ExtractFromUrl to g.ExtractFromURL
2015-11-20 14:25:57 -02:00
David Howden
608f185745
Added LICENSE file.
2015-09-28 11:20:06 +10:00
David Howden
7f1d62d8cc
Updated README to include build status.
2015-09-27 09:02:46 +10:00
David Howden
7e783cbdbd
Skip failing tests for now, updated #8 to note this needs fixing
2015-09-27 08:35:36 +10:00
David Howden
e4b63aa892
Added notification email to Travis build config.
2015-09-26 18:30:27 +10:00
David Howden
f9ff261359
Update Travis build config.
2015-09-26 18:14:32 +10:00
David Howden
01ab8a6d7b
Added Travis build config
2015-09-26 18:09:04 +10:00
David Howden
fb0b347ae5
Updated README to include instructions for OCR support.
2015-09-26 13:50:19 +10:00
David Howden
919dc87671
Merge pull request #17 from sajari/poorny-gosseract_support
...
OCR gosseract support (see #16 )
2015-09-26 13:24:47 +10:00
David Howden
9ecc1d7b21
Added build tag 'ocr' to isolate gosseract dependency.
...
To build docconv with OCR (ConvertImage) support, add the build tag ocr.
2015-09-26 11:05:37 +10:00
Mario Idival
01ed7a7f3c
add ConvertImage function
2015-09-23 13:58:13 -03:00
Mario Idival
572cb273fa
using gosseract to extract text of images
2015-09-23 13:58:00 -03:00
Mario Idival
5d7149066b
add mime types of images
2015-09-23 12:20:51 -03:00
David Howden
94a2d4dc93
Refactor code into library.
...
Binary now built from subpackage docconv.
2015-08-10 23:17:50 +10:00
David Howden
a7037e1eb0
Don't ignore ReadAll error if file it text.
2015-08-10 10:29:16 +10:00
David Howden
a93bdba0f2
Return errors from ConvertPDF.
2015-08-10 09:48:20 +10:00
David Howden
efe9f7e97f
Return errors from ConvertODT.
2015-08-10 09:48:20 +10:00
David Howden
7ae52ac537
Refactored long if-else into switch
2015-08-10 09:48:20 +10:00
David Howden
86d4d2b11a
Refactored out common code for Docx file extraction.
2015-08-10 09:48:20 +10:00