(Bumping this since it looks like the first message didn't go through.)

Tyler

On Mon, Oct 2, 2017 at 1:27 PM, Tyler Bui-Palsulich <tpalsul...@google.com>
wrote:

> Hi Everyone,
>
> I am happy to announce go-tika, a Go package which makes it easy to use
> Tika from Go! See https://github.com/google/go-tika and the corresponding
> GoDoc <https://godoc.org/github.com/google/go-tika/tika>. I marked a
> release as 0.1.16, indicating the latest version supported by the package.
>
> I added a link to the wiki (https://wiki.apache.org/tika/
> API%20Bindings%20for%20Tika).
>
> Here is the relevant bit for how to parse a file:
>
> f, err := os.Open("path/to/file")
> if err != nil {
> log.Fatal(err)
> }
> defer f.Close()
>
> client := tika.NewClient(nil, s.URL())
> body, err := client.Parse(context.Background(), f)
>
> Hopefully this is useful for someone! Feel free to file an issue if you
> have a question or spot a bug.
>
> Thanks to Chris et al. for inspiration with tika-python.
>
> Tyler
>

Reply via email to