Interface MachineLearningService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void generateDatasetForAwsComprehend​(java.lang.String filePath, java.lang.String langCode, java.lang.String targetDb, java.lang.String targetCollection, java.lang.Boolean isAbsolutePath)
      This method automatically generate a dataset from existing list of terms
      void generateTranslationsForLanguage​(java.lang.String fromLangIsoCode, java.lang.String toLangIsoCode)
      This method generates new database entities for new language.
      java.util.Map<java.lang.String,​java.lang.Object> recognizeAttributesForSellerSku​(java.util.ArrayList<java.lang.String> urls, java.lang.String sellerSkuType, java.lang.Boolean isAbsolutePath)
      This method is working with AWS and it automatically does a recognition a seller sku object from files
      void translateDatabaseForLanguage​(java.lang.String fromLangIsoCode, java.lang.String toLangIsoCode, java.lang.String targetDb, java.lang.String targetCollection, java.util.ArrayList<java.lang.String> fieldNames)
      This method generates new database entities for new language.
    • Method Detail

      • recognizeAttributesForSellerSku

        java.util.Map<java.lang.String,​java.lang.Object> recognizeAttributesForSellerSku​(java.util.ArrayList<java.lang.String> urls,
                                                                                               java.lang.String sellerSkuType,
                                                                                               java.lang.Boolean isAbsolutePath)
        This method is working with AWS and it automatically does a recognition a seller sku object from files
        Parameters:
        urls - path of file which will be parsed
        sellerSkuType - type of SellerSKU
        isAbsolutePath - this is a switcher for the url construction
        Returns:
        it returns a SellerSKU
      • generateDatasetForAwsComprehend

        void generateDatasetForAwsComprehend​(java.lang.String filePath,
                                             java.lang.String langCode,
                                             java.lang.String targetDb,
                                             java.lang.String targetCollection,
                                             java.lang.Boolean isAbsolutePath)
        This method automatically generate a dataset from existing list of terms
        Parameters:
        filePath - the text file with the list of terms
        langCode - language code
        targetDb - the database which will be used to save a dataset
        targetCollection - the collection which will be used to save a dataset
        isAbsolutePath - this is a switcher for the url construction
      • generateTranslationsForLanguage

        void generateTranslationsForLanguage​(java.lang.String fromLangIsoCode,
                                             java.lang.String toLangIsoCode)
        This method generates new database entities for new language.
        Parameters:
        fromLangIsoCode - the language id which will be used as reference
        toLangIsoCode - the language id which will be used for translation entity generation
      • translateDatabaseForLanguage

        void translateDatabaseForLanguage​(java.lang.String fromLangIsoCode,
                                          java.lang.String toLangIsoCode,
                                          java.lang.String targetDb,
                                          java.lang.String targetCollection,
                                          java.util.ArrayList<java.lang.String> fieldNames)
        This method generates new database entities for new language.
        Parameters:
        fromLangIsoCode - the language id which will be used as reference
        toLangIsoCode - the language id which will be used for translation entity generation
        targetDb - the database which will be used to translate
        targetCollection - the collection which will be used to translate
        fieldNames - the list of fields which should be translated