Sutou Kouhei 2019-06-13 16:28:01 +0900 (Thu, 13 Jun 2019) Revision: fe8a507c43009143a926be40090e7397e3b10da5 https://github.com/ranguba/chupa-text-decomposer-abiword/commit/fe8a507c43009143a926be40090e7397e3b10da5 Message: Use a bit high score Modified files: lib/chupa-text/decomposers/abiword.rb Modified: lib/chupa-text/decomposers/abiword.rb (+8 -0) =================================================================== --- lib/chupa-text/decomposers/abiword.rb 2019-06-13 16:25:52 +0900 (4a5e473) +++ lib/chupa-text/decomposers/abiword.rb 2019-06-13 16:28:01 +0900 (1735752) @@ -57,6 +57,14 @@ module ChupaText MIME_TYPES.include?(data.mime_type) end + def target_score(data) + if target?(data) + 10 + else + nil + end + end + def decompose(data) pdf_data = convert_to_pdf(data) return if pdf_data.nil? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190613/8168c1aa/attachment.html>