<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def keywords(text, cloud=None, batch=False, api_key=None, version=2, batch_size=None, **kwargs):
 """ Given input text, returns series of keywords and associated scores Example usage: .. code-block:: python u'The keywords are ['delightful', 'highs', 'skies'] :param text: The text to be analyzed. :type text: str or unicode :rtype: Dictionary of feature score pairs """

    if kwargs.get("language", "english") != "english":
        version = 1
    url_params = {"batch": batch, "api_key": api_key, "version": version}
    return api_handler(text, cloud=cloud, api="keywords", url_params=url_params, batch_size=batch_size, **kwargs)