From 9b88797ba405f76dd9fbf2165b51444094dd40b4 Mon Sep 17 00:00:00 2001 From: Ryan4253 Date: Fri, 8 Dec 2023 00:44:52 +0000 Subject: [PATCH] deploy: d9deb75bfb3fa8987fece9f5c30e72fc4d3036c9 --- ...ranslator.Translator.OnlineTranslator.html | 83 +++++++++++++++++- apidoc/TenshiTranslator.Translator.html | 10 ++- apidoc/TenshiTranslator.api.html | 46 +++++++++- apidoc/TenshiTranslator.html | 11 ++- apidoc/modules.html | 6 +- genindex.html | 46 +++++++++- objects.inv | Bin 862 -> 938 bytes py-modindex.html | 10 +++ searchindex.js | 2 +- 9 files changed, 204 insertions(+), 10 deletions(-) diff --git a/apidoc/TenshiTranslator.Translator.OnlineTranslator.html b/apidoc/TenshiTranslator.Translator.OnlineTranslator.html index 466603e..5ede300 100644 --- a/apidoc/TenshiTranslator.Translator.OnlineTranslator.html +++ b/apidoc/TenshiTranslator.Translator.OnlineTranslator.html @@ -126,8 +126,65 @@

Quick search

-
-

TenshiTranslator.Translator.OnlineTranslator module

+
+

TenshiTranslator.Translator.OnlineTranslator module

+
+
+class TenshiTranslator.Translator.OnlineTranslator.OnlineTranslator(outputOption: OutputFormat, glossary: Glossary, timeoutWait: int = 315)
+

Bases: Translator

+

Translator that translates by automating sugoitranslator.com using selenium

+

As sugoi translator has a rate limit, this translator automatically waits for the timeout to end before resuming. +The advantage of this translator is that it is free and does not require any setup. However, it is both the slowest +and the least accurate as it uses an older model and has a character limit of 100 characters per request. Long +sentences will be split into multiple requests, and contexts will not be taken into account.

+
+
Parameters:
+
    +
  • outputOption – the output format to use

  • +
  • glossary – the glossary to use

  • +
  • timeoutWait – the time to wait in seconds when a timeout is detected, defaults to 315 seconds

  • +
+
+
+
+
+initWebsite()
+

Initializes the website by opening the site then swapping the language to japanese

+
+ +
+
+japaneseToEnglish(japanese: str | list[str]) str
+

Translates a string or a list of strings from japanese to english using the sugoitranslator website and selenium

+
+
Parameters:
+

japanese – the string or list of strings to be translated

+
+
Returns:
+

the translated string

+
+
+
+ +
+
+translate(inputFilePath: str)
+

Translates a file and writes to inputFilePath-Translated.txt

+
+
Parameters:
+

inputFilePath – path to the file to be translated

+
+
Raises:
+

FileNotFoundError if the file is not found

+
+
Raises:
+

Exception if any other error occurs

+
+
+
+ +
+
@@ -136,6 +193,28 @@

TenshiTranslator.Translator.OnlineTranslator module

+ + + +
diff --git a/apidoc/TenshiTranslator.Translator.html b/apidoc/TenshiTranslator.Translator.html index 886c589..3dc4f93 100644 --- a/apidoc/TenshiTranslator.Translator.html +++ b/apidoc/TenshiTranslator.Translator.html @@ -148,7 +148,15 @@

SubmodulesTenshiTranslator.Translator.OnlineTranslator module +
  • TenshiTranslator.Translator.OnlineTranslator module +
  • TenshiTranslator.Translator.Translator module
    • Translator
      • Translator.translate()
      • diff --git a/apidoc/TenshiTranslator.api.html b/apidoc/TenshiTranslator.api.html index 3dbc458..a58724a 100644 --- a/apidoc/TenshiTranslator.api.html +++ b/apidoc/TenshiTranslator.api.html @@ -126,8 +126,32 @@

        Quick search

        -
        -

        TenshiTranslator.api module

        +
        +

        TenshiTranslator.api module

        +

        Contains the flask server api for TenshiTranslator

        +
        +
        +TenshiTranslator.api.process()
        +

        Processes a translation request.

        +

        The request is a json file with the following parameters:

        +
          +
        • ‘Translator’: ‘Online’ | ‘Offline’ | ‘Batch’, the type of translator to use

        • +
        • ‘OutputFormat’: ‘LineByLine’ | ‘EnglishOnly’, the output format to use

        • +
        • ‘GlossaryNames’: file path to the glossary names file

        • +
        • ‘GlossaryCorrections’: file path to the glossary corrections file

        • +
        • ‘Files’: list of file paths to translate

        • +
        • ‘SugoiDirectory’: path to the sugoi directory, required if Translator is ‘Batch’ or ‘Offline’

        • +
        • ‘BatchSize’: number of lines to translate at once, required if Translator is ‘Batch’

        • +
        • ‘TimeoutWait’: number of seconds to wait before resuming translation after a timeout, required if Translator is ‘Online’

        • +
        +
        + +
        +
        +TenshiTranslator.api.startServer()
        +

        Starts the flask server on port 6000

        +
        +
        @@ -136,6 +160,24 @@

        TenshiTranslator.api module +

        <Page contents

        +

        + + +
        diff --git a/apidoc/TenshiTranslator.html b/apidoc/TenshiTranslator.html index f9ffbde..926a1e9 100644 --- a/apidoc/TenshiTranslator.html +++ b/apidoc/TenshiTranslator.html @@ -161,7 +161,10 @@

        SubpackagesOfflineTranslator

    • -
    • TenshiTranslator.Translator.OnlineTranslator module
    • +
    • TenshiTranslator.Translator.OnlineTranslator module +
    • TenshiTranslator.Translator.Translator module @@ -199,7 +202,11 @@

      Subpackages

      diff --git a/apidoc/modules.html b/apidoc/modules.html index 7500ca5..017fb86 100644 --- a/apidoc/modules.html +++ b/apidoc/modules.html @@ -150,7 +150,11 @@

      TenshiTranslatorSubmodules

    • Module contents
    • diff --git a/genindex.html b/genindex.html index 84b607d..9499ee6 100644 --- a/genindex.html +++ b/genindex.html @@ -134,10 +134,12 @@

      Index

      | E | G | I + | J | L | M | N | O + | P | R | S | T @@ -179,15 +181,25 @@

      G

      I

      +

      J

      + + +
      +

      L

      +

      P

      + + +
      +

      R

        @@ -279,6 +305,8 @@

        S

      @@ -291,6 +319,13 @@

      T

      +
    • + TenshiTranslator.api + +
    • @@ -342,6 +377,13 @@

      T

    • +
    • + TenshiTranslator.Translator.OnlineTranslator + +
    • @@ -376,6 +418,8 @@

      T

      • (TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator method) +
      • +
      • (TenshiTranslator.Translator.OnlineTranslator.OnlineTranslator method)
      • (TenshiTranslator.Translator.Translator.Translator method)
      • diff --git a/objects.inv b/objects.inv index 946ab7a1db18a55a5dea6c72391a373d77229703..c3926e13421e61cfa2beacf8fee01c060e9fe714 100644 GIT binary patch delta 825 zcmV-91IGN`2C4^;et*rF!E)Om5Qgu53Oeo8YIDsonWWQB(|8(nawhURqCubnN~2p} zqp#N|DYERuvT$I*_VnVhfZhLtT_o5Xgf3aGsL-4msYu=*<2Ry^Q|#i zX)6A&DcLxsa+1Wf z7ntmqVg@dmU7>ERz?5=+aIP;*z**b<#)fIz12Re@a~BaRMsA=zkfa1C7AkGeCT!qW zDNykkLnNrD#2^p^`P#+2fj9o1QB#!hQd{OJ(k>KVfPEy12$=>kUq3P_zQNB1vLZt0Q`Lt1U0Wap21>rbID`-i8Go&7-kwXPpy)m+Iw%^6nhI)8 z3;0SaIDlRbPiCfM0a^!ctFc*Nz=k$VUsSbOUV%EYJBCI9xGj70AY1*=Krx zEZK@a!0M`DuPHNX$|DI2`FZu>I4`N9g#o3HB(0#5kMK#%L71aS8pYrdx`aB`GoimC4Y$GAPHri1no-O?%#&ppt=_gWPNtK)1Nj}nHx}#pkjRP7(}$0pV|&GJ$bdj zNk)b>EgtOVo`jSDLR3ao0^%v8BJ>>FPv<7 zAqfC^zK@U{cN)(w7~WJu1qWwq;&B=<)2%~zD8~2*K|!K+)T6eRVL)LzjT zsi~mgG=a}FhYRS%@M6|VCZM(FvFe+72CQqt^j%(Op#D0Y=}1LwH+YKtF!kdq-R*ra2);7t37BXM;_1S99Y zMUK`5hw84v2~HA$E5^|ZG^_|_4W`8K`I9yExd+I<@|>I~@dr*pw{Z6r?39{hz^TVd zk7`n1jQ)RA;^Te*$iDX>u?!>D^;;8bQRcRwY3>|eEi95lw5XQ*f!6Co+cmWE2crXK e>&o^rqHC>zswC?gw(nY-$98;OC-PtSee-z8>vIDD diff --git a/py-modindex.html b/py-modindex.html index 98e3b6b..fd1b5ae 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -145,6 +145,11 @@

        Python Module Index

        TenshiTranslator + + +     + TenshiTranslator.api +     @@ -180,6 +185,11 @@

        Python Module Index

            TenshiTranslator.Translator.OfflineTranslator + + +     + TenshiTranslator.Translator.OnlineTranslator +     diff --git a/searchindex.js b/searchindex.js index 94e1388..70ce7f1 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["apidoc/TenshiTranslator", "apidoc/TenshiTranslator.OutputFormat", "apidoc/TenshiTranslator.OutputFormat.EnglishOnlyFormat", "apidoc/TenshiTranslator.OutputFormat.LineByLineFormat", "apidoc/TenshiTranslator.OutputFormat.OutputFormat", "apidoc/TenshiTranslator.Translator", "apidoc/TenshiTranslator.Translator.BatchTranslator", "apidoc/TenshiTranslator.Translator.OfflineTranslator", "apidoc/TenshiTranslator.Translator.OnlineTranslator", "apidoc/TenshiTranslator.Translator.Translator", "apidoc/TenshiTranslator.Util", "apidoc/TenshiTranslator.Util.Glossary", "apidoc/TenshiTranslator.Util.TextProcessor", "apidoc/TenshiTranslator.api", "apidoc/modules", "index"], "filenames": ["apidoc/TenshiTranslator.rst", "apidoc/TenshiTranslator.OutputFormat.rst", "apidoc/TenshiTranslator.OutputFormat.EnglishOnlyFormat.rst", "apidoc/TenshiTranslator.OutputFormat.LineByLineFormat.rst", "apidoc/TenshiTranslator.OutputFormat.OutputFormat.rst", "apidoc/TenshiTranslator.Translator.rst", "apidoc/TenshiTranslator.Translator.BatchTranslator.rst", "apidoc/TenshiTranslator.Translator.OfflineTranslator.rst", "apidoc/TenshiTranslator.Translator.OnlineTranslator.rst", "apidoc/TenshiTranslator.Translator.Translator.rst", "apidoc/TenshiTranslator.Util.rst", "apidoc/TenshiTranslator.Util.Glossary.rst", "apidoc/TenshiTranslator.Util.TextProcessor.rst", "apidoc/TenshiTranslator.api.rst", "apidoc/modules.rst", "index.rst"], "titles": ["TenshiTranslator package", "TenshiTranslator.OutputFormat package", "TenshiTranslator.OutputFormat.EnglishOnlyFormat module", "TenshiTranslator.OutputFormat.LineByLineFormat module", "TenshiTranslator.OutputFormat.OutputFormat module", "TenshiTranslator.Translator package", "TenshiTranslator.Translator.BatchTranslator module", "TenshiTranslator.Translator.OfflineTranslator module", "TenshiTranslator.Translator.OnlineTranslator module", "TenshiTranslator.Translator.Translator module", "TenshiTranslator.Util package", "TenshiTranslator.Util.Glossary module", "TenshiTranslator.Util.TextProcessor module", "TenshiTranslator.api module", "TenshiTranslator", "Welcome to TenshiTranslator\u2019s documentation!"], "terms": {"outputformat": [0, 6, 7, 9, 14], "englishonlyformat": [0, 1], "linebylineformat": [0, 1], "translat": [0, 2, 3, 4, 11, 12, 14], "batchtransl": [0, 5], "offlinetransl": [0, 5], "onlinetransl": [0, 5], "util": [0, 6, 14], "glossari": [0, 6, 7, 9, 10], "textprocessor": [0, 10], "isemptylin": [0, 10, 12], "istimeoutmessag": [0, 10, 12], "makeoutputfilepath": [0, 10, 12], "nojapanesecharact": [0, 10, 12], "removeind": [0, 10, 12], "retrievelin": [0, 10, 12], "splittosent": [0, 10, 12], "api": [0, 14], "writefil": [1, 2, 3, 4], "class": [2, 3, 4, 6, 7, 9, 11], "base": [2, 3, 4, 6, 7, 9, 11], "output": [2, 3, 4, 6, 7, 9, 11, 12], "format": [2, 3, 4, 6, 7, 9, 11, 12], "mimic": 2, "structur": 2, "input": [2, 11, 12], "file": [2, 3, 4, 6, 7, 9, 11, 12], "onli": 2, "contain": [2, 3, 11, 12], "line": [2, 3, 4, 6, 7, 11, 12], "outputfilepath": [2, 3, 4], "str": [2, 3, 4, 6, 7, 9, 11, 12], "japaneselin": [2, 3, 4], "list": [2, 3, 4, 6, 12], "englishlin": [2, 3, 4], "write": [2, 3, 4, 6, 7, 9], "overwritten": [2, 3, 4], "alreadi": [2, 3, 4], "exist": [2, 3, 4], "paramet": [2, 3, 4, 6, 7, 9, 11, 12], "path": [2, 3, 4, 6, 7, 9, 11, 12], "japanes": [2, 3, 4, 6, 7, 12], "follow": 3, "The": [3, 6, 7, 11, 12], "fule": 3, "an": [3, 6, 7], "empti": [3, 12], "between": 3, "two": [3, 11], "If": [3, 12], "i": [3, 6, 7, 11, 12], "charact": [3, 7, 12], "thi": [3, 6, 7, 11, 12], "intend": 3, "quickli": 3, "refer": 3, "check": [3, 12], "abc": [4, 9], "abstract": [4, 9], "defin": 4, "interfac": 4, "sendtranslationrequest": [5, 6, 7], "outputopt": [6, 7, 9], "sugoidirectori": [6, 7], "batchsiz": 6, "int": [6, 12], "64": 6, "send": 6, "batch": 6, "sugoi": [6, 7, 12], "toolkit": [6, 7], "": [6, 7, 12], "offlin": [6, 7], "server": [6, 7], "ar": [6, 7, 11, 12], "through": [6, 7], "http": [6, 7], "request": [6, 7], "optimiz": 6, "time": 6, "maxim": 6, "gpu": [6, 7], "requir": [6, 7], "nvidia": [6, 7], "us": [6, 7, 9, 11, 12], "magnitud": 6, "faster": [6, 7], "than": [6, 7, 12], "other": [6, 7, 11], "you": [6, 7, 11], "have": [6, 7], "instal": 6, "cuda": 6, "run": 6, "setup": 6, "script": 6, "allow": [6, 11, 12], "accept": 6, "recommend": [6, 7], "object": [6, 7, 11], "take": [6, 7], "around": [6, 7], "12": [6, 7], "second": [6, 7], "initi": [6, 7], "start": [6, 7], "number": 6, "per": 6, "default": 6, "from": [6, 7, 11, 12], "english": [6, 7], "return": [6, 7, 11, 12], "inputfilepath": [6, 7, 9, 12], "txt": [6, 7, 9, 12], "rais": [6, 7, 11, 12], "filenotfounderror": [6, 7, 11, 12], "found": [6, 7, 11, 12], "except": [6, 7], "ani": [6, 7, 11], "error": [6, 7], "occur": [6, 7], "onlin": 7, "It": 7, "also": [7, 11], "more": 7, "accur": 7, "newer": 7, "model": 7, "ha": 7, "limit": [7, 12], "speed": 7, "depend": 7, "your": 7, "comput": 7, "hardwar": 7, "gener": 7, "don": 7, "t": 7, "string": [7, 12], "applycorrect": [10, 11], "replacenam": [10, 11], "namepath": 11, "correctionpath": 11, "high": 11, "level": 11, "specifi": 11, "specif": 11, "phrase": 11, "appli": 11, "correct": 11, "text": [11, 12], "commonli": 11, "name": [11, 12], "jargon": 11, "mai": 11, "correctli": 11, "load": 11, "csv": 11, "one": 11, "replac": 11, "post": 11, "done": 11, "directli": 11, "while": 11, "regex": 11, "must": 11, "each": 11, "entri": 11, "separ": 11, "new": 11, "modifi": [11, 12], "accord": 11, "function": 12, "process": 12, "remov": 12, "indent": 12, "split": 12, "sentenc": 12, "etc": 12, "bool": 12, "true": 12, "fals": 12, "otherwis": 12, "timeout": 12, "messag": 12, "site": 12, "build": 12, "desir": 12, "extens": 12, "without": 12, "retriev": 12, "everi": 12, "code": 12, "termin": 12, "maxlength": 12, "paragraph": 12, "longer": 12, "max": 12, "length": 12, "smaller": 12, "period": 12, "compli": 12, "100": 12, "lline": 12, "packag": 14, "subpackag": 14, "submodul": 14, "modul": [14, 15], "content": 14, "index": 15, "search": 15, "page": 15}, "objects": {"": [[0, 0, 0, "-", "TenshiTranslator"]], "TenshiTranslator": [[1, 0, 0, "-", "OutputFormat"], [5, 0, 0, "-", "Translator"], [10, 0, 0, "-", "Util"]], "TenshiTranslator.OutputFormat": [[2, 0, 0, "-", "EnglishOnlyFormat"], [3, 0, 0, "-", "LineByLineFormat"], [4, 0, 0, "-", "OutputFormat"]], "TenshiTranslator.OutputFormat.EnglishOnlyFormat": [[2, 1, 1, "", "EnglishOnlyFormat"]], "TenshiTranslator.OutputFormat.EnglishOnlyFormat.EnglishOnlyFormat": [[2, 2, 1, "", "writeFile"]], "TenshiTranslator.OutputFormat.LineByLineFormat": [[3, 1, 1, "", "LineByLineFormat"]], "TenshiTranslator.OutputFormat.LineByLineFormat.LineByLineFormat": [[3, 2, 1, "", "writeFile"]], "TenshiTranslator.OutputFormat.OutputFormat": [[4, 1, 1, "", "OutputFormat"]], "TenshiTranslator.OutputFormat.OutputFormat.OutputFormat": [[4, 2, 1, "", "writeFile"]], "TenshiTranslator.Translator": [[6, 0, 0, "-", "BatchTranslator"], [7, 0, 0, "-", "OfflineTranslator"], [9, 0, 0, "-", "Translator"]], "TenshiTranslator.Translator.BatchTranslator": [[6, 1, 1, "", "BatchTranslator"]], "TenshiTranslator.Translator.BatchTranslator.BatchTranslator": [[6, 2, 1, "", "sendTranslationRequest"], [6, 2, 1, "", "translate"]], "TenshiTranslator.Translator.OfflineTranslator": [[7, 1, 1, "", "OfflineTranslator"]], "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator": [[7, 2, 1, "", "sendTranslationRequest"], [7, 2, 1, "", "translate"]], "TenshiTranslator.Translator.Translator": [[9, 1, 1, "", "Translator"]], "TenshiTranslator.Translator.Translator.Translator": [[9, 2, 1, "", "translate"]], "TenshiTranslator.Util": [[11, 0, 0, "-", "Glossary"], [12, 0, 0, "-", "TextProcessor"]], "TenshiTranslator.Util.Glossary": [[11, 1, 1, "", "Glossary"]], "TenshiTranslator.Util.Glossary.Glossary": [[11, 2, 1, "", "applyCorrections"], [11, 2, 1, "", "replaceNames"]], "TenshiTranslator.Util.TextProcessor": [[12, 3, 1, "", "isEmptyLine"], [12, 3, 1, "", "isTimeoutMessage"], [12, 3, 1, "", "makeOutputFilePath"], [12, 3, 1, "", "noJapaneseCharacters"], [12, 3, 1, "", "removeIndent"], [12, 3, 1, "", "retrieveLines"], [12, 3, 1, "", "splitToSentence"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"]}, "titleterms": {"tenshitransl": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "packag": [0, 1, 5, 10], "subpackag": 0, "submodul": [0, 1, 5, 10], "modul": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "content": [0, 1, 5, 10], "outputformat": [1, 2, 3, 4], "englishonlyformat": 2, "linebylineformat": 3, "translat": [5, 6, 7, 8, 9], "batchtransl": 6, "offlinetransl": 7, "onlinetransl": 8, "util": [10, 11, 12], "glossari": 11, "textprocessor": 12, "api": 13, "welcom": 15, "": 15, "document": 15, "indic": 15, "tabl": 15}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"TenshiTranslator package": [[0, "tenshitranslator-package"]], "Subpackages": [[0, "subpackages"]], "Submodules": [[0, "submodules"], [1, "submodules"], [5, "submodules"], [10, "submodules"]], "Module contents": [[0, "module-TenshiTranslator"], [1, "module-TenshiTranslator.OutputFormat"], [5, "module-TenshiTranslator.Translator"], [10, "module-TenshiTranslator.Util"]], "TenshiTranslator.OutputFormat package": [[1, "tenshitranslator-outputformat-package"]], "TenshiTranslator.OutputFormat.EnglishOnlyFormat module": [[2, "module-TenshiTranslator.OutputFormat.EnglishOnlyFormat"]], "TenshiTranslator.OutputFormat.LineByLineFormat module": [[3, "module-TenshiTranslator.OutputFormat.LineByLineFormat"]], "TenshiTranslator.OutputFormat.OutputFormat module": [[4, "module-TenshiTranslator.OutputFormat.OutputFormat"]], "TenshiTranslator.Translator package": [[5, "tenshitranslator-translator-package"]], "TenshiTranslator.Translator.BatchTranslator module": [[6, "module-TenshiTranslator.Translator.BatchTranslator"]], "TenshiTranslator.Translator.OfflineTranslator module": [[7, "module-TenshiTranslator.Translator.OfflineTranslator"]], "TenshiTranslator.Translator.OnlineTranslator module": [[8, "tenshitranslator-translator-onlinetranslator-module"]], "TenshiTranslator.Translator.Translator module": [[9, "module-TenshiTranslator.Translator.Translator"]], "TenshiTranslator.Util package": [[10, "tenshitranslator-util-package"]], "TenshiTranslator.Util.Glossary module": [[11, "module-TenshiTranslator.Util.Glossary"]], "TenshiTranslator.Util.TextProcessor module": [[12, "module-TenshiTranslator.Util.TextProcessor"]], "TenshiTranslator.api module": [[13, "tenshitranslator-api-module"]], "TenshiTranslator": [[14, "tenshitranslator"]], "Welcome to TenshiTranslator\u2019s documentation!": [[15, "welcome-to-tenshitranslator-s-documentation"]], "Indices and tables": [[15, "indices-and-tables"]]}, "indexentries": {"tenshitranslator": [[0, "module-TenshiTranslator"]], "module": [[0, "module-TenshiTranslator"], [1, "module-TenshiTranslator.OutputFormat"], [2, "module-TenshiTranslator.OutputFormat.EnglishOnlyFormat"], [3, "module-TenshiTranslator.OutputFormat.LineByLineFormat"], [4, "module-TenshiTranslator.OutputFormat.OutputFormat"], [5, "module-TenshiTranslator.Translator"], [6, "module-TenshiTranslator.Translator.BatchTranslator"], [7, "module-TenshiTranslator.Translator.OfflineTranslator"], [9, "module-TenshiTranslator.Translator.Translator"], [10, "module-TenshiTranslator.Util"], [11, "module-TenshiTranslator.Util.Glossary"], [12, "module-TenshiTranslator.Util.TextProcessor"]], "tenshitranslator.outputformat": [[1, "module-TenshiTranslator.OutputFormat"]], "englishonlyformat (class in tenshitranslator.outputformat.englishonlyformat)": [[2, "TenshiTranslator.OutputFormat.EnglishOnlyFormat.EnglishOnlyFormat"]], "tenshitranslator.outputformat.englishonlyformat": [[2, "module-TenshiTranslator.OutputFormat.EnglishOnlyFormat"]], "writefile() (tenshitranslator.outputformat.englishonlyformat.englishonlyformat method)": [[2, "TenshiTranslator.OutputFormat.EnglishOnlyFormat.EnglishOnlyFormat.writeFile"]], "linebylineformat (class in tenshitranslator.outputformat.linebylineformat)": [[3, "TenshiTranslator.OutputFormat.LineByLineFormat.LineByLineFormat"]], "tenshitranslator.outputformat.linebylineformat": [[3, "module-TenshiTranslator.OutputFormat.LineByLineFormat"]], "writefile() (tenshitranslator.outputformat.linebylineformat.linebylineformat method)": [[3, "TenshiTranslator.OutputFormat.LineByLineFormat.LineByLineFormat.writeFile"]], "outputformat (class in tenshitranslator.outputformat.outputformat)": [[4, "TenshiTranslator.OutputFormat.OutputFormat.OutputFormat"]], "tenshitranslator.outputformat.outputformat": [[4, "module-TenshiTranslator.OutputFormat.OutputFormat"]], "writefile() (tenshitranslator.outputformat.outputformat.outputformat method)": [[4, "TenshiTranslator.OutputFormat.OutputFormat.OutputFormat.writeFile"]], "tenshitranslator.translator": [[5, "module-TenshiTranslator.Translator"]], "batchtranslator (class in tenshitranslator.translator.batchtranslator)": [[6, "TenshiTranslator.Translator.BatchTranslator.BatchTranslator"]], "tenshitranslator.translator.batchtranslator": [[6, "module-TenshiTranslator.Translator.BatchTranslator"]], "sendtranslationrequest() (tenshitranslator.translator.batchtranslator.batchtranslator method)": [[6, "TenshiTranslator.Translator.BatchTranslator.BatchTranslator.sendTranslationRequest"]], "translate() (tenshitranslator.translator.batchtranslator.batchtranslator method)": [[6, "TenshiTranslator.Translator.BatchTranslator.BatchTranslator.translate"]], "offlinetranslator (class in tenshitranslator.translator.offlinetranslator)": [[7, "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator"]], "tenshitranslator.translator.offlinetranslator": [[7, "module-TenshiTranslator.Translator.OfflineTranslator"]], "sendtranslationrequest() (tenshitranslator.translator.offlinetranslator.offlinetranslator method)": [[7, "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator.sendTranslationRequest"]], "translate() (tenshitranslator.translator.offlinetranslator.offlinetranslator method)": [[7, "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator.translate"]], "tenshitranslator.translator.translator": [[9, "module-TenshiTranslator.Translator.Translator"]], "translator (class in tenshitranslator.translator.translator)": [[9, "TenshiTranslator.Translator.Translator.Translator"]], "translate() (tenshitranslator.translator.translator.translator method)": [[9, "TenshiTranslator.Translator.Translator.Translator.translate"]], "tenshitranslator.util": [[10, "module-TenshiTranslator.Util"]], "glossary (class in tenshitranslator.util.glossary)": [[11, "TenshiTranslator.Util.Glossary.Glossary"]], "tenshitranslator.util.glossary": [[11, "module-TenshiTranslator.Util.Glossary"]], "applycorrections() (tenshitranslator.util.glossary.glossary method)": [[11, "TenshiTranslator.Util.Glossary.Glossary.applyCorrections"]], "replacenames() (tenshitranslator.util.glossary.glossary method)": [[11, "TenshiTranslator.Util.Glossary.Glossary.replaceNames"]], "tenshitranslator.util.textprocessor": [[12, "module-TenshiTranslator.Util.TextProcessor"]], "isemptyline() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.isEmptyLine"]], "istimeoutmessage() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.isTimeoutMessage"]], "makeoutputfilepath() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.makeOutputFilePath"]], "nojapanesecharacters() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.noJapaneseCharacters"]], "removeindent() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.removeIndent"]], "retrievelines() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.retrieveLines"]], "splittosentence() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.splitToSentence"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["apidoc/TenshiTranslator", "apidoc/TenshiTranslator.OutputFormat", "apidoc/TenshiTranslator.OutputFormat.EnglishOnlyFormat", "apidoc/TenshiTranslator.OutputFormat.LineByLineFormat", "apidoc/TenshiTranslator.OutputFormat.OutputFormat", "apidoc/TenshiTranslator.Translator", "apidoc/TenshiTranslator.Translator.BatchTranslator", "apidoc/TenshiTranslator.Translator.OfflineTranslator", "apidoc/TenshiTranslator.Translator.OnlineTranslator", "apidoc/TenshiTranslator.Translator.Translator", "apidoc/TenshiTranslator.Util", "apidoc/TenshiTranslator.Util.Glossary", "apidoc/TenshiTranslator.Util.TextProcessor", "apidoc/TenshiTranslator.api", "apidoc/modules", "index"], "filenames": ["apidoc/TenshiTranslator.rst", "apidoc/TenshiTranslator.OutputFormat.rst", "apidoc/TenshiTranslator.OutputFormat.EnglishOnlyFormat.rst", "apidoc/TenshiTranslator.OutputFormat.LineByLineFormat.rst", "apidoc/TenshiTranslator.OutputFormat.OutputFormat.rst", "apidoc/TenshiTranslator.Translator.rst", "apidoc/TenshiTranslator.Translator.BatchTranslator.rst", "apidoc/TenshiTranslator.Translator.OfflineTranslator.rst", "apidoc/TenshiTranslator.Translator.OnlineTranslator.rst", "apidoc/TenshiTranslator.Translator.Translator.rst", "apidoc/TenshiTranslator.Util.rst", "apidoc/TenshiTranslator.Util.Glossary.rst", "apidoc/TenshiTranslator.Util.TextProcessor.rst", "apidoc/TenshiTranslator.api.rst", "apidoc/modules.rst", "index.rst"], "titles": ["TenshiTranslator package", "TenshiTranslator.OutputFormat package", "TenshiTranslator.OutputFormat.EnglishOnlyFormat module", "TenshiTranslator.OutputFormat.LineByLineFormat module", "TenshiTranslator.OutputFormat.OutputFormat module", "TenshiTranslator.Translator package", "TenshiTranslator.Translator.BatchTranslator module", "TenshiTranslator.Translator.OfflineTranslator module", "TenshiTranslator.Translator.OnlineTranslator module", "TenshiTranslator.Translator.Translator module", "TenshiTranslator.Util package", "TenshiTranslator.Util.Glossary module", "TenshiTranslator.Util.TextProcessor module", "TenshiTranslator.api module", "TenshiTranslator", "Welcome to TenshiTranslator\u2019s documentation!"], "terms": {"outputformat": [0, 6, 7, 8, 9, 13, 14], "englishonlyformat": [0, 1], "linebylineformat": [0, 1], "translat": [0, 2, 3, 4, 11, 12, 13, 14], "batchtransl": [0, 5], "offlinetransl": [0, 5], "onlinetransl": [0, 5], "util": [0, 6, 14], "glossari": [0, 6, 7, 8, 9, 10, 13], "textprocessor": [0, 10], "isemptylin": [0, 10, 12], "istimeoutmessag": [0, 10, 12], "makeoutputfilepath": [0, 10, 12], "nojapanesecharact": [0, 10, 12], "removeind": [0, 10, 12], "retrievelin": [0, 10, 12], "splittosent": [0, 10, 12], "api": [0, 14], "process": [0, 12, 13, 14], "startserv": [0, 13, 14], "writefil": [1, 2, 3, 4], "class": [2, 3, 4, 6, 7, 8, 9, 11], "base": [2, 3, 4, 6, 7, 8, 9, 11], "output": [2, 3, 4, 6, 7, 8, 9, 11, 12, 13], "format": [2, 3, 4, 6, 7, 8, 9, 11, 12, 13], "mimic": 2, "structur": 2, "input": [2, 11, 12], "file": [2, 3, 4, 6, 7, 8, 9, 11, 12, 13], "onli": 2, "contain": [2, 3, 11, 12, 13], "line": [2, 3, 4, 6, 7, 11, 12, 13], "outputfilepath": [2, 3, 4], "str": [2, 3, 4, 6, 7, 8, 9, 11, 12], "japaneselin": [2, 3, 4], "list": [2, 3, 4, 6, 8, 12, 13], "englishlin": [2, 3, 4], "write": [2, 3, 4, 6, 7, 8, 9], "overwritten": [2, 3, 4], "alreadi": [2, 3, 4], "exist": [2, 3, 4], "paramet": [2, 3, 4, 6, 7, 8, 9, 11, 12, 13], "path": [2, 3, 4, 6, 7, 8, 9, 11, 12, 13], "japanes": [2, 3, 4, 6, 7, 8, 12], "follow": [3, 13], "The": [3, 6, 7, 8, 11, 12, 13], "fule": 3, "an": [3, 6, 7, 8], "empti": [3, 12], "between": 3, "two": [3, 11], "If": [3, 12], "i": [3, 6, 7, 8, 11, 12, 13], "charact": [3, 7, 8, 12], "thi": [3, 6, 7, 8, 11, 12], "intend": 3, "quickli": 3, "refer": 3, "check": [3, 12], "abc": [4, 9], "abstract": [4, 9], "defin": 4, "interfac": 4, "sendtranslationrequest": [5, 6, 7], "initwebsit": [5, 8], "japanesetoenglish": [5, 8], "outputopt": [6, 7, 8, 9], "sugoidirectori": [6, 7, 13], "batchsiz": [6, 13], "int": [6, 8, 12], "64": 6, "send": 6, "batch": [6, 13], "sugoi": [6, 7, 8, 12, 13], "toolkit": [6, 7], "": [6, 7, 12], "offlin": [6, 7, 13], "server": [6, 7, 13], "ar": [6, 7, 11, 12], "through": [6, 7], "http": [6, 7], "request": [6, 7, 8, 13], "optimiz": 6, "time": [6, 8], "maxim": 6, "gpu": [6, 7], "requir": [6, 7, 8, 13], "nvidia": [6, 7], "us": [6, 7, 8, 9, 11, 12, 13], "magnitud": 6, "faster": [6, 7], "than": [6, 7, 12], "other": [6, 7, 8, 11], "you": [6, 7, 11], "have": [6, 7], "instal": 6, "cuda": 6, "run": 6, "setup": [6, 8], "script": 6, "allow": [6, 11, 12], "accept": 6, "recommend": [6, 7], "object": [6, 7, 11], "take": [6, 7], "around": [6, 7], "12": [6, 7], "second": [6, 7, 8, 13], "initi": [6, 7, 8], "start": [6, 7, 13], "number": [6, 13], "per": [6, 8], "default": [6, 8], "from": [6, 7, 8, 11, 12], "english": [6, 7, 8], "return": [6, 7, 8, 11, 12], "inputfilepath": [6, 7, 8, 9, 12], "txt": [6, 7, 8, 9, 12], "rais": [6, 7, 8, 11, 12], "filenotfounderror": [6, 7, 8, 11, 12], "found": [6, 7, 8, 11, 12], "except": [6, 7, 8], "ani": [6, 7, 8, 11], "error": [6, 7, 8], "occur": [6, 7, 8], "onlin": [7, 13], "It": 7, "also": [7, 11], "more": 7, "accur": [7, 8], "newer": 7, "model": [7, 8], "ha": [7, 8], "limit": [7, 8, 12], "speed": 7, "depend": 7, "your": 7, "comput": 7, "hardwar": 7, "gener": 7, "don": 7, "t": 7, "string": [7, 8, 12], "timeoutwait": [8, 13], "315": 8, "autom": 8, "sugoitransl": 8, "com": 8, "selenium": 8, "As": 8, "rate": 8, "automat": 8, "wait": [8, 13], "timeout": [8, 12, 13], "end": 8, "befor": [8, 13], "resum": [8, 13], "advantag": 8, "free": 8, "doe": 8, "howev": 8, "both": 8, "slowest": 8, "least": 8, "older": 8, "100": [8, 12], "long": 8, "sentenc": [8, 12], "split": [8, 12], "multipl": 8, "context": 8, "taken": 8, "account": 8, "when": 8, "detect": 8, "websit": 8, "open": 8, "site": [8, 12], "swap": 8, "languag": 8, "applycorrect": [10, 11], "replacenam": [10, 11], "namepath": 11, "correctionpath": 11, "high": 11, "level": 11, "specifi": 11, "specif": 11, "phrase": 11, "appli": 11, "correct": [11, 13], "text": [11, 12], "commonli": 11, "name": [11, 12, 13], "jargon": 11, "mai": 11, "correctli": 11, "load": 11, "csv": 11, "one": 11, "replac": 11, "post": 11, "done": 11, "directli": 11, "while": 11, "regex": 11, "must": 11, "each": 11, "entri": 11, "separ": 11, "new": 11, "modifi": [11, 12], "accord": 11, "function": 12, "remov": 12, "indent": 12, "etc": 12, "bool": 12, "true": 12, "fals": 12, "otherwis": 12, "messag": 12, "build": 12, "desir": 12, "extens": 12, "without": 12, "retriev": 12, "everi": 12, "code": 12, "termin": 12, "maxlength": 12, "paragraph": 12, "longer": 12, "max": 12, "length": 12, "smaller": 12, "period": 12, "compli": 12, "lline": 12, "flask": 13, "json": 13, "type": 13, "linebylin": 13, "englishonli": 13, "glossarynam": 13, "glossarycorrect": 13, "directori": 13, "onc": 13, "after": 13, "port": 13, "6000": 13, "packag": 14, "subpackag": 14, "submodul": 14, "modul": [14, 15], "content": 14, "index": 15, "search": 15, "page": 15}, "objects": {"": [[0, 0, 0, "-", "TenshiTranslator"]], "TenshiTranslator": [[1, 0, 0, "-", "OutputFormat"], [5, 0, 0, "-", "Translator"], [10, 0, 0, "-", "Util"], [13, 0, 0, "-", "api"]], "TenshiTranslator.OutputFormat": [[2, 0, 0, "-", "EnglishOnlyFormat"], [3, 0, 0, "-", "LineByLineFormat"], [4, 0, 0, "-", "OutputFormat"]], "TenshiTranslator.OutputFormat.EnglishOnlyFormat": [[2, 1, 1, "", "EnglishOnlyFormat"]], "TenshiTranslator.OutputFormat.EnglishOnlyFormat.EnglishOnlyFormat": [[2, 2, 1, "", "writeFile"]], "TenshiTranslator.OutputFormat.LineByLineFormat": [[3, 1, 1, "", "LineByLineFormat"]], "TenshiTranslator.OutputFormat.LineByLineFormat.LineByLineFormat": [[3, 2, 1, "", "writeFile"]], "TenshiTranslator.OutputFormat.OutputFormat": [[4, 1, 1, "", "OutputFormat"]], "TenshiTranslator.OutputFormat.OutputFormat.OutputFormat": [[4, 2, 1, "", "writeFile"]], "TenshiTranslator.Translator": [[6, 0, 0, "-", "BatchTranslator"], [7, 0, 0, "-", "OfflineTranslator"], [8, 0, 0, "-", "OnlineTranslator"], [9, 0, 0, "-", "Translator"]], "TenshiTranslator.Translator.BatchTranslator": [[6, 1, 1, "", "BatchTranslator"]], "TenshiTranslator.Translator.BatchTranslator.BatchTranslator": [[6, 2, 1, "", "sendTranslationRequest"], [6, 2, 1, "", "translate"]], "TenshiTranslator.Translator.OfflineTranslator": [[7, 1, 1, "", "OfflineTranslator"]], "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator": [[7, 2, 1, "", "sendTranslationRequest"], [7, 2, 1, "", "translate"]], "TenshiTranslator.Translator.OnlineTranslator": [[8, 1, 1, "", "OnlineTranslator"]], "TenshiTranslator.Translator.OnlineTranslator.OnlineTranslator": [[8, 2, 1, "", "initWebsite"], [8, 2, 1, "", "japaneseToEnglish"], [8, 2, 1, "", "translate"]], "TenshiTranslator.Translator.Translator": [[9, 1, 1, "", "Translator"]], "TenshiTranslator.Translator.Translator.Translator": [[9, 2, 1, "", "translate"]], "TenshiTranslator.Util": [[11, 0, 0, "-", "Glossary"], [12, 0, 0, "-", "TextProcessor"]], "TenshiTranslator.Util.Glossary": [[11, 1, 1, "", "Glossary"]], "TenshiTranslator.Util.Glossary.Glossary": [[11, 2, 1, "", "applyCorrections"], [11, 2, 1, "", "replaceNames"]], "TenshiTranslator.Util.TextProcessor": [[12, 3, 1, "", "isEmptyLine"], [12, 3, 1, "", "isTimeoutMessage"], [12, 3, 1, "", "makeOutputFilePath"], [12, 3, 1, "", "noJapaneseCharacters"], [12, 3, 1, "", "removeIndent"], [12, 3, 1, "", "retrieveLines"], [12, 3, 1, "", "splitToSentence"]], "TenshiTranslator.api": [[13, 3, 1, "", "process"], [13, 3, 1, "", "startServer"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"]}, "titleterms": {"tenshitransl": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "packag": [0, 1, 5, 10], "subpackag": 0, "submodul": [0, 1, 5, 10], "modul": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "content": [0, 1, 5, 10], "outputformat": [1, 2, 3, 4], "englishonlyformat": 2, "linebylineformat": 3, "translat": [5, 6, 7, 8, 9], "batchtransl": 6, "offlinetransl": 7, "onlinetransl": 8, "util": [10, 11, 12], "glossari": 11, "textprocessor": 12, "api": 13, "welcom": 15, "": 15, "document": 15, "indic": 15, "tabl": 15}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"TenshiTranslator package": [[0, "tenshitranslator-package"]], "Subpackages": [[0, "subpackages"]], "Submodules": [[0, "submodules"], [1, "submodules"], [5, "submodules"], [10, "submodules"]], "Module contents": [[0, "module-TenshiTranslator"], [1, "module-TenshiTranslator.OutputFormat"], [5, "module-TenshiTranslator.Translator"], [10, "module-TenshiTranslator.Util"]], "TenshiTranslator.OutputFormat package": [[1, "tenshitranslator-outputformat-package"]], "TenshiTranslator.OutputFormat.EnglishOnlyFormat module": [[2, "module-TenshiTranslator.OutputFormat.EnglishOnlyFormat"]], "TenshiTranslator.OutputFormat.LineByLineFormat module": [[3, "module-TenshiTranslator.OutputFormat.LineByLineFormat"]], "TenshiTranslator.OutputFormat.OutputFormat module": [[4, "module-TenshiTranslator.OutputFormat.OutputFormat"]], "TenshiTranslator.Translator package": [[5, "tenshitranslator-translator-package"]], "TenshiTranslator.Translator.BatchTranslator module": [[6, "module-TenshiTranslator.Translator.BatchTranslator"]], "TenshiTranslator.Translator.OfflineTranslator module": [[7, "module-TenshiTranslator.Translator.OfflineTranslator"]], "TenshiTranslator.Translator.OnlineTranslator module": [[8, "module-TenshiTranslator.Translator.OnlineTranslator"]], "TenshiTranslator.Translator.Translator module": [[9, "module-TenshiTranslator.Translator.Translator"]], "TenshiTranslator.Util package": [[10, "tenshitranslator-util-package"]], "TenshiTranslator.Util.Glossary module": [[11, "module-TenshiTranslator.Util.Glossary"]], "TenshiTranslator.Util.TextProcessor module": [[12, "module-TenshiTranslator.Util.TextProcessor"]], "TenshiTranslator.api module": [[13, "module-TenshiTranslator.api"]], "TenshiTranslator": [[14, "tenshitranslator"]], "Welcome to TenshiTranslator\u2019s documentation!": [[15, "welcome-to-tenshitranslator-s-documentation"]], "Indices and tables": [[15, "indices-and-tables"]]}, "indexentries": {"tenshitranslator": [[0, "module-TenshiTranslator"]], "module": [[0, "module-TenshiTranslator"], [1, "module-TenshiTranslator.OutputFormat"], [2, "module-TenshiTranslator.OutputFormat.EnglishOnlyFormat"], [3, "module-TenshiTranslator.OutputFormat.LineByLineFormat"], [4, "module-TenshiTranslator.OutputFormat.OutputFormat"], [5, "module-TenshiTranslator.Translator"], [6, "module-TenshiTranslator.Translator.BatchTranslator"], [7, "module-TenshiTranslator.Translator.OfflineTranslator"], [8, "module-TenshiTranslator.Translator.OnlineTranslator"], [9, "module-TenshiTranslator.Translator.Translator"], [10, "module-TenshiTranslator.Util"], [11, "module-TenshiTranslator.Util.Glossary"], [12, "module-TenshiTranslator.Util.TextProcessor"], [13, "module-TenshiTranslator.api"]], "tenshitranslator.outputformat": [[1, "module-TenshiTranslator.OutputFormat"]], "englishonlyformat (class in tenshitranslator.outputformat.englishonlyformat)": [[2, "TenshiTranslator.OutputFormat.EnglishOnlyFormat.EnglishOnlyFormat"]], "tenshitranslator.outputformat.englishonlyformat": [[2, "module-TenshiTranslator.OutputFormat.EnglishOnlyFormat"]], "writefile() (tenshitranslator.outputformat.englishonlyformat.englishonlyformat method)": [[2, "TenshiTranslator.OutputFormat.EnglishOnlyFormat.EnglishOnlyFormat.writeFile"]], "linebylineformat (class in tenshitranslator.outputformat.linebylineformat)": [[3, "TenshiTranslator.OutputFormat.LineByLineFormat.LineByLineFormat"]], "tenshitranslator.outputformat.linebylineformat": [[3, "module-TenshiTranslator.OutputFormat.LineByLineFormat"]], "writefile() (tenshitranslator.outputformat.linebylineformat.linebylineformat method)": [[3, "TenshiTranslator.OutputFormat.LineByLineFormat.LineByLineFormat.writeFile"]], "outputformat (class in tenshitranslator.outputformat.outputformat)": [[4, "TenshiTranslator.OutputFormat.OutputFormat.OutputFormat"]], "tenshitranslator.outputformat.outputformat": [[4, "module-TenshiTranslator.OutputFormat.OutputFormat"]], "writefile() (tenshitranslator.outputformat.outputformat.outputformat method)": [[4, "TenshiTranslator.OutputFormat.OutputFormat.OutputFormat.writeFile"]], "tenshitranslator.translator": [[5, "module-TenshiTranslator.Translator"]], "batchtranslator (class in tenshitranslator.translator.batchtranslator)": [[6, "TenshiTranslator.Translator.BatchTranslator.BatchTranslator"]], "tenshitranslator.translator.batchtranslator": [[6, "module-TenshiTranslator.Translator.BatchTranslator"]], "sendtranslationrequest() (tenshitranslator.translator.batchtranslator.batchtranslator method)": [[6, "TenshiTranslator.Translator.BatchTranslator.BatchTranslator.sendTranslationRequest"]], "translate() (tenshitranslator.translator.batchtranslator.batchtranslator method)": [[6, "TenshiTranslator.Translator.BatchTranslator.BatchTranslator.translate"]], "offlinetranslator (class in tenshitranslator.translator.offlinetranslator)": [[7, "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator"]], "tenshitranslator.translator.offlinetranslator": [[7, "module-TenshiTranslator.Translator.OfflineTranslator"]], "sendtranslationrequest() (tenshitranslator.translator.offlinetranslator.offlinetranslator method)": [[7, "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator.sendTranslationRequest"]], "translate() (tenshitranslator.translator.offlinetranslator.offlinetranslator method)": [[7, "TenshiTranslator.Translator.OfflineTranslator.OfflineTranslator.translate"]], "onlinetranslator (class in tenshitranslator.translator.onlinetranslator)": [[8, "TenshiTranslator.Translator.OnlineTranslator.OnlineTranslator"]], "tenshitranslator.translator.onlinetranslator": [[8, "module-TenshiTranslator.Translator.OnlineTranslator"]], "initwebsite() (tenshitranslator.translator.onlinetranslator.onlinetranslator method)": [[8, "TenshiTranslator.Translator.OnlineTranslator.OnlineTranslator.initWebsite"]], "japanesetoenglish() (tenshitranslator.translator.onlinetranslator.onlinetranslator method)": [[8, "TenshiTranslator.Translator.OnlineTranslator.OnlineTranslator.japaneseToEnglish"]], "translate() (tenshitranslator.translator.onlinetranslator.onlinetranslator method)": [[8, "TenshiTranslator.Translator.OnlineTranslator.OnlineTranslator.translate"]], "tenshitranslator.translator.translator": [[9, "module-TenshiTranslator.Translator.Translator"]], "translator (class in tenshitranslator.translator.translator)": [[9, "TenshiTranslator.Translator.Translator.Translator"]], "translate() (tenshitranslator.translator.translator.translator method)": [[9, "TenshiTranslator.Translator.Translator.Translator.translate"]], "tenshitranslator.util": [[10, "module-TenshiTranslator.Util"]], "glossary (class in tenshitranslator.util.glossary)": [[11, "TenshiTranslator.Util.Glossary.Glossary"]], "tenshitranslator.util.glossary": [[11, "module-TenshiTranslator.Util.Glossary"]], "applycorrections() (tenshitranslator.util.glossary.glossary method)": [[11, "TenshiTranslator.Util.Glossary.Glossary.applyCorrections"]], "replacenames() (tenshitranslator.util.glossary.glossary method)": [[11, "TenshiTranslator.Util.Glossary.Glossary.replaceNames"]], "tenshitranslator.util.textprocessor": [[12, "module-TenshiTranslator.Util.TextProcessor"]], "isemptyline() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.isEmptyLine"]], "istimeoutmessage() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.isTimeoutMessage"]], "makeoutputfilepath() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.makeOutputFilePath"]], "nojapanesecharacters() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.noJapaneseCharacters"]], "removeindent() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.removeIndent"]], "retrievelines() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.retrieveLines"]], "splittosentence() (in module tenshitranslator.util.textprocessor)": [[12, "TenshiTranslator.Util.TextProcessor.splitToSentence"]], "tenshitranslator.api": [[13, "module-TenshiTranslator.api"]], "process() (in module tenshitranslator.api)": [[13, "TenshiTranslator.api.process"]], "startserver() (in module tenshitranslator.api)": [[13, "TenshiTranslator.api.startServer"]]}}) \ No newline at end of file