Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/m/b/MBSP-HEAD/__init__.py   MBSP(Download)
# - relation: for finding subject/object/predicate relations between phrases.
# - preposition: for attaching prepositions to their anchor: "eating with a fork" => eating how? => with a fork.
from config import LEMMA, CHUNK, RELATION, PREPOSITION, ALL
from config import events
from server import active_servers, Server, Servers, TIMBL, MBT
POS      = config.POS         # The part-of-speech of the word (e.g. noun, adjective).
CHUNK    = config.CHUNK       # The chunk tag of a group of words (e.g. noun phrase, verb phrase).
PNP      = config.PREPOSITION # Indicates a prepositional noun phrase (e.g. with a fork)
RELATION = config.RELATION    # Verb/argument tags (e.g. sentence subject, sentence object).
ANCHOR   = config.ANCHOR      # The chunk has prepositional noun phrases attached (e.g. eat => with a fork).

src/m/b/MBSP-HEAD/prepositions/classify.py   MBSP(Download)
    instances = PP_instances(s)
    instances2= [x.encode(config.encoding)+' ?' for x in instances]
    tags = batch(instances2, client=(TimblPP, HOST, PORT, config.PREPOSITION, config.log), retries=1)    
    # Tag and group the instances by PP.
    grouped = {}