Pig implementation of ua-parser