Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /pages/viewpage.action?pageId=36012119 taken on 2022-06-27. The original wiki at wiki.opf-labs.org is being decommissioned.

PIG User Defined Functions to operate on extracted web content

Added by Sven Schlarb · last edited by Per Møldrup-Dalum · on Dec 03, 2013

Working plan

Language detection

Pig example

For now clone https://github.com/cneud/warcbase&nbsp and checkout the pig-integration branch. Running the unit tests will run the above Pig Latin script on the provided test gzip'ed ARC file. The language distribution reported by Tika is:

The UDF is added to the piggy bank of the warcbase project by adding this class that leverages Tika

MIME type detection

Goals

Create UDFs for