Add SentencesParser to new namespace

Add to new name space RemoteTranslations::Microsoft
This commit is contained in:
taitus
2019-05-24 15:24:16 +02:00
committed by voodoorai2000
parent 4c1704a5a3
commit 510307b0bd
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
require "translator-text"
include SentencesParser
include RemoteTranslations::Microsoft::SentencesParser
include RemoteTranslations::Microsoft::AvailableLocales
class RemoteTranslations::Microsoft::Client

View File

@@ -1,4 +1,4 @@
module SentencesParser
module RemoteTranslations::Microsoft::SentencesParser
def detect_split_position(text)
minimum_valid_index = text.size - RemoteTranslations::Microsoft::Client::CHARACTERS_LIMIT_PER_REQUEST