home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / Services / Yahoo / ContentAnalysis / spellingSuggestion.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  1.9 KB  |  51 lines

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  3.  
  4. /**
  5.  * Spelling Suggestion service
  6.  *
  7.  * Copyright 2005-2006 Martin Jansen
  8.  *
  9.  * Licensed under the Apache License, Version 2.0 (the "License");
  10.  * you may not use this file except in compliance with the License.
  11.  * You may obtain a copy of the License at
  12.  *
  13.  *     http://www.apache.org/licenses/LICENSE-2.0
  14.  *
  15.  * Unless required by applicable law or agreed to in writing, software
  16.  * distributed under the License is distributed on an "AS IS" BASIS,
  17.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.  * See the License for the specific language governing permissions and
  19.  * limitations under the License.
  20.  *
  21.  * @category   Services
  22.  * @package    Services_Yahoo
  23.  * @author     Martin Jansen <mj@php.net>
  24.  * @copyright  2005-2006 Martin Jansen
  25.  * @license    http://www.apache.org/licenses/LICENSE-2.0  Apache License, Version 2.0
  26.  * @version    CVS: $Id: spellingSuggestion.php,v 1.2 2006/10/02 12:53:33 mj Exp $
  27.  * @link       http://pear.php.net/package/Services_Yahoo
  28.  */
  29.  
  30. require_once "AbstractContentAnalysis.php";
  31.  
  32. /**
  33.  * Spelling Suggestion service class
  34.  *
  35.  * This class implements an interface to Yahoo's Spelling Suggestion 
  36.  * service by using the Yahoo API.
  37.  *
  38.  * @category   Services
  39.  * @package    Services_Yahoo
  40.  * @author     Martin Jansen <mj@php.net>
  41.  * @copyright  2005-2006 Martin Jansen
  42.  * @license    http://www.apache.org/licenses/LICENSE-2.0  Apache License, Version 2.0
  43.  * @version    CVS: $Id: spellingSuggestion.php,v 1.2 2006/10/02 12:53:33 mj Exp $
  44.  * @link       http://pear.php.net/package/Services_Yahoo
  45.  * @link       http://developer.yahoo.net/content/V1/termExtraction.html
  46.  */
  47. class Services_Yahoo_ContentAnalysis_spellingSuggestion extends Services_Yahoo_ContentAnalysis_AbstractContentAnalysis {
  48.  
  49.     protected $requestURL = "http://api.search.yahoo.com/WebSearchService/V1/spellingSuggestion";
  50. }
  51.