PHP Paraphrase
A paraphrase is a restatement of the meaning of a text or passage using other words.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Samy\Paraphrase\ParaphraseInterface Interface Reference
Inheritance diagram for Samy\Paraphrase\ParaphraseInterface:
Samy\Paraphrase\AbstractParaphrase Samy\Paraphrase\TinqAi

Public Member Functions

 withLanguage (string $Language)
 
 getLanguage ()
 
 getSupportedLanguages ()
 
 withMode (int $Mode)
 
 getMode ()
 
 getSupportedModes ()
 
 withText (string $Text)
 
 getText ()
 
 paraphrase ()
 

Detailed Description

Describes Paraphrase interface.

Member Function Documentation

◆ getLanguage()

Samy\Paraphrase\ParaphraseInterface::getLanguage ( )

Retrieve provided language.

Returns
string

Implemented in Samy\Paraphrase\AbstractParaphrase.

◆ getMode()

Samy\Paraphrase\ParaphraseInterface::getMode ( )

Retrieve provided mode.

Returns
string

Implemented in Samy\Paraphrase\AbstractParaphrase.

◆ getSupportedLanguages()

Samy\Paraphrase\ParaphraseInterface::getSupportedLanguages ( )

Retrieve supported languages.

Returns
array<array<string, string>>

Implemented in Samy\Paraphrase\AbstractParaphrase, and Samy\Paraphrase\TinqAi.

◆ getSupportedModes()

Samy\Paraphrase\ParaphraseInterface::getSupportedModes ( )

Retrieve supported modes.

Returns
array<array<string, mixed>>

Implemented in Samy\Paraphrase\AbstractParaphrase, and Samy\Paraphrase\TinqAi.

◆ getText()

Samy\Paraphrase\ParaphraseInterface::getText ( )

Retrieve provided text.

Returns
string

Implemented in Samy\Paraphrase\AbstractParaphrase.

◆ paraphrase()

Samy\Paraphrase\ParaphraseInterface::paraphrase ( )

Retrieve paraphrased text.

Returns
string

Implemented in Samy\Paraphrase\AbstractParaphrase, and Samy\Paraphrase\TinqAi.

◆ withLanguage()

Samy\Paraphrase\ParaphraseInterface::withLanguage ( string  $Language)

Return an instance with provided language.

Parameters
[in]string$LanguageLanguage code
Returns
static

Implemented in Samy\Paraphrase\AbstractParaphrase.

◆ withMode()

Samy\Paraphrase\ParaphraseInterface::withMode ( int  $Mode)

Return an instance with provided mode.

Parameters
[in]int$ModeMode id
Returns
static

Implemented in Samy\Paraphrase\AbstractParaphrase.

◆ withText()

Samy\Paraphrase\ParaphraseInterface::withText ( string  $Text)

Return an instance with provided text.

Parameters
[in]string$Textthe original text
Returns
static

Implemented in Samy\Paraphrase\AbstractParaphrase.


The documentation for this interface was generated from the following file: