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 events
from server import active_servers, Server, Servers, TIMBL, MBT
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).
LEMMA    = config.LEMMA       # The base form of the word (e.g. mice => mouse).

src/m/b/MBSP-HEAD/relationfinder.py   MBSP(Download)
    # The client.batch() function in the client module takes care of managing server clients,
    # we simply pass it all the tagging jobs and a definition of the client we need.
    tags = client.batch(tags, client=(client.Timbl, HOST, PORT, config.RELATION, config.log), retries=1)    
    # Getting tags for complete chunks:
    chunk_dict = {}