PHP Paraphrase
A paraphrase is a restatement of the meaning of a text or passage using other words.
|
Public Member Functions | |
withLanguage (string $Language) | |
getLanguage () | |
getSupportedLanguages () | |
withMode (int $Mode) | |
getMode () | |
getSupportedModes () | |
withText (string $Text) | |
getText () | |
paraphrase () | |
Describes Paraphrase interface.
Samy\Paraphrase\ParaphraseInterface::getLanguage | ( | ) |
Samy\Paraphrase\ParaphraseInterface::getMode | ( | ) |
Samy\Paraphrase\ParaphraseInterface::getSupportedLanguages | ( | ) |
Retrieve supported languages.
Implemented in Samy\Paraphrase\AbstractParaphrase, and Samy\Paraphrase\TinqAi.
Samy\Paraphrase\ParaphraseInterface::getSupportedModes | ( | ) |
Retrieve supported modes.
Implemented in Samy\Paraphrase\AbstractParaphrase, and Samy\Paraphrase\TinqAi.
Samy\Paraphrase\ParaphraseInterface::getText | ( | ) |
Samy\Paraphrase\ParaphraseInterface::paraphrase | ( | ) |
Retrieve paraphrased text.
Implemented in Samy\Paraphrase\AbstractParaphrase, and Samy\Paraphrase\TinqAi.
Samy\Paraphrase\ParaphraseInterface::withLanguage | ( | string | $Language | ) |
Return an instance with provided language.
[in] | string | $Language | Language code |
Implemented in Samy\Paraphrase\AbstractParaphrase.
Samy\Paraphrase\ParaphraseInterface::withMode | ( | int | $Mode | ) |
Return an instance with provided mode.
[in] | int | $Mode | Mode id |
Implemented in Samy\Paraphrase\AbstractParaphrase.
Samy\Paraphrase\ParaphraseInterface::withText | ( | string | $Text | ) |
Return an instance with provided text.
[in] | string | $Text | the original text |
Implemented in Samy\Paraphrase\AbstractParaphrase.