'source_text_type ->
where to obtain the text that will be processed by this API call.
AlchemyAPI supports multiple modes of text extraction:
web page cleaning (removes ads, navigation links, etc.),
raw text extraction
(processes all web page text, including ads / nav links),
visual constraint queries, and XPath queries.
Possible values:
cleaned_or_raw  : cleaning enabled, fallback to raw when
cleaning produces no text (default)
cleaned         : operate on \'cleaned\' web page text (web
page cleaning enabled)
raw             : operate on raw web page text (web page
cleaning disabled)
cquery          : operate on the results of a visual
constraints query
Note: The \'constraint_query\'  argument must
also be set to a valid visual constraints
query.
xpath           : operate on the results of an XPath query
Note: The \'xpath\' http argument must also
be set to a valid XPath query.
constraint_query ->
a visual constraints query to apply to the web page.
xpath ->
an XPath query to apply to the web page.
base_url ->
rel-tag output base http url (must be uri-argument encoded)'

def taxonomy(self, html=None, text=None, url=None, show_source_text=False, source_text_type=None, constraint_query=None, xpath_query=None, base_url=None, language=None):

    params = {'showSourceText': show_source_text, 'sourceText': source_text_type, 'cquery': constraint_query, 'xpath': xpath_query, 'baseUrl': base_url, 'language': language}
    return self._alchemy_html_request('GetRankedTaxonomy', html=html, text=text, url=url, params=params)
