Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2613

Tesseract 4.0 has removed -psm, so Tika must update

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.17
    • Fix Version/s: 1.18, 2.0.0
    • Component/s: parser
    • Labels:
      None

      Description

      Tesseract 4.0 (currently in beta-1) has removed the -psm flag, in favor of --psm (with two dashes).

      The --psm variant was introduced in Nov 2016, so it should be safe to simply switch Tika to use the two-dash variant, even for people still using Tesseract 3.05.

      For reference, the Tesseract cset is:

      commit ee201e1f4fa277a4b2ecd751a45d3bf1eba6dfdb
      Author: Stefan Weil <sw@weilnetz.de>
      Date: Sun Mar 25 17:28:33 2018 +0200
      
      Remove deprecated support for -psm argument (#1419)
      
      It was replaced by --psm and deprecated in commit 92d981b93.
      
      Signed-off-by: Stefan Weil <sw@weilnetz.de>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ewanmellor-2 Ewan Mellor
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: