|
@@ 46-51 (lines=6) @@
|
| 43 |
|
/** |
| 44 |
|
* get and get Thesaurus.com data |
| 45 |
|
*/ |
| 46 |
|
public function getThesaurus($word = NULL) { |
| 47 |
|
$word = !$word ? $this->word : $word; |
| 48 |
|
$service = new Services\Thesaurus(); |
| 49 |
|
$this->words = $service->getWords($word); |
| 50 |
|
return $this; |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
public function getBighugelabs($word = NULL) { |
| 54 |
|
$word = !$word ? $this->word : $word; |
|
@@ 53-58 (lines=6) @@
|
| 50 |
|
return $this; |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
public function getBighugelabs($word = NULL) { |
| 54 |
|
$word = !$word ? $this->word : $word; |
| 55 |
|
$service = new Services\Bighugelabs(); |
| 56 |
|
$this->words = $service->getWords($word); |
| 57 |
|
return $this; |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
public function getTurkishSynonyms($word = NULL) { |
| 61 |
|
$word = !$word ? $this->word : $word; |
|
@@ 60-65 (lines=6) @@
|
| 57 |
|
return $this; |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
public function getTurkishSynonyms($word = NULL) { |
| 61 |
|
$word = !$word ? $this->word : $word; |
| 62 |
|
$service = new Services\TurkishSynonyms(); |
| 63 |
|
$this->words = $service->getWords($word); |
| 64 |
|
return $this; |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
public function getWordnik($word = NULL) { |
| 68 |
|
//https://www.wordnik.com/fragments/tags/test |