2017 © Pedro Peláez
 

library related-word

Get related words through wikipedia.

image

sukohi/related-word

Get related words through wikipedia.

  • Thursday, November 10, 2016
  • by Sukohi
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

RelatedWord

Get related words through wikipedia., (*1)

Demo, (*2)

Installation

Execute the following composer command., (*3)

composer require sukohi/related-word:1.*

Usage

$related_word = new \Sukohi\RelatedWord\RelatedWord();
$related_word->setTag('PHP');       // Required
$related_word->setLocale('ja');     // Optional
$related_word->setLimit(15);        // Optional
$related_word->setMinCount(5);      // Optional
$keywords = $related_word->get();

Methods

  • setTag($keyword)

A keyword you'd like to get related words from.(Required), (*4)

  • setLocale($locale)

Your locale.(Default is en)(Optional), (*5)

  • setLimit($limit)

The number of keywords that you will get at most.(Optional), (*6)

  • setMinCount($count)

You can get keywords if each keyword appear over $count.(Optional), (*7)

License

This package is licensed under the MIT License.
Copyright 2016 Sukohi Kuhoh, (*8)

The Versions

10/11 2016

1.0.x-dev

1.0.9999999.9999999-dev

Get related words through wikipedia.

  Sources   Download

The Requires

 

by Avatar Sukohi

10/11 2016

dev-master

9999999-dev

Get related words through wikipedia.

  Sources   Download

The Requires

 

by Avatar Sukohi

10/11 2016

1.0.1

1.0.1.0

Get related words through wikipedia.

  Sources   Download

The Requires

 

by Avatar Sukohi

09/11 2016

1.0.0

1.0.0.0

Get related words through wikipedia.

  Sources   Download

The Requires

 

by Avatar Sukohi