fix for TIKA-1943 contributed by Mark Duske

Properties file used by YandexTranslator

Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/f509917b
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/f509917b
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/f509917b

Branch: refs/heads/master
Commit: f509917b56ea86d89102b4dae983ad82cd3fbe89
Parents: 08e932b
Author: ReEvApp - Re-Evolution Applications, LLC <[email protected]>
Authored: Tue Apr 12 14:00:22 2016 -0400
Committer: ReEvApp - Re-Evolution Applications, LLC <[email protected]>
Committed: Tue Apr 12 14:00:22 2016 -0400

----------------------------------------------------------------------
 .../tika/language/translate/translator.yandex.properties    | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tika/blob/f509917b/tika-translate/src/main/resources/org/apache/tika/language/translate/translator.yandex.properties
----------------------------------------------------------------------
diff --git 
a/tika-translate/src/main/resources/org/apache/tika/language/translate/translator.yandex.properties
 
b/tika-translate/src/main/resources/org/apache/tika/language/translate/translator.yandex.properties
new file mode 100644
index 0000000..57c11e0
--- /dev/null
+++ 
b/tika-translate/src/main/resources/org/apache/tika/language/translate/translator.yandex.properties
@@ -0,0 +1,9 @@
+# To use the YANDEX translate service, you <em>must</em> set your API-Key
+# as described in Translate API, https://tech.yandex.com/translate/
+# If you do not want translation please set the value to "dummy-key".
+
+translator.api-key=dummy-key
+
+#The Yandex Translate API can handle text in plain and/or html format, the 
default format is plain.
+#Set this value to html to enable HTML format support
+translator.text.format=plain

Reply via email to