GitHub user LukeLiush opened a pull request:
https://github.com/apache/tika/pull/41
add probabilistic mime selection
The probabilistic mime selection detector has been re-implemented.
the Bayesian probabilistic selection has been improved by adding more
freedom and flexibilities that allow users to specify their own prior and
conditional probabilities; the concrete details and basic idea are illustrated
in the Tika-1571 and the implementation still follow the main description
posted in the https://issues.apache.org/jira/browse/TIKA-1517 but with a minor
change on the prior probability which was not modifiable in the original design.
The https://issues.apache.org/jira/browse/TIKA-1535 is resolved according
to Prof Mattmann's suggestion.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/LukeLiush/tika mimeDetection
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tika/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit fd41a855f794876b43f97327bd77190099c1e554
Author: LukeLiush <[email protected]>
Date: 2015-04-11T08:57:12Z
add probabilistic mime selection
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---