<s> from __future__ import ( <EOL> print_function , unicode_literals , division , absolute_import ) <EOL> from monkeylearn . settings import DEFAULT_BASE_ENDPOINT <EOL> from monkeylearn . classification import Classification <EOL> from monkeylearn . extraction import Extraction <EOL> from monkeylearn . pipelines import Pipelines <EOL> class MonkeyLearn ( object ) : <EOL> def __init__ ( self , token , base_endpoint = DEFAULT_BASE_ENDPOINT ) : <EOL> self . token = token <EOL> self . base_endpoint = base_endpoint <EOL> @ property <EOL> def classifiers ( self ) : <EOL> return Classification ( token = self . token , <EOL> base_endpoint = self . base_endpoint ) <EOL> @ property <EOL> def extractors ( self ) : <EOL> return Extraction ( token = self . token , <EOL> base_endpoint = self . base_endpoint ) <EOL> @ property <EOL> def pipelines ( self ) : <EOL> return Pipelines ( token = self . token , <EOL> base_endpoint = self . base_endpoint ) </s>
