Services_Yahoo
[ class tree: Services_Yahoo ] [ index: Services_Yahoo ] [ all elements ]

Class: Services_Yahoo_ContentAnalysis_termExtraction

Source Location: /Services_Yahoo-0.2.0/Yahoo/ContentAnalysis/termExtraction.php

Class Overview

Services_Yahoo_ContentAnalysis_AbstractContentAnalysis
   |
   --Services_Yahoo_ContentAnalysis_termExtraction

Term Extraction service class


Author(s):

Version:

  • CVS: $Id: termExtraction.php,v 1.2 2006/10/02 12:53:33 mj Exp $

Copyright:

  • 2005-2006 Martin Jansen

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
Term Extraction service class

This class implements an interface to Yahoo's Term Extraction service by using the Yahoo API.



[ Top ]


Class Variables

$requestURL =  "http://api.search.yahoo.com/ContentAnalysisService/V1/termExtraction"

[line 49]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

setContext   [line 60]

void setContext( string $context)

Set the context to extract terms from.

Note: One must not encode the context to UTF-8 before passing it to this method. The encoding will be done automatically.

  • Access: public

Parameters:

string   $context   —  Context to extract terms from

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:00:17 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.