Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Formal context defining a relation between objects and properties.

>>> c = Context.fromstring('''
...    |+1|-1|+2|-2|+3|-3|+sg|+pl|-sg|-pl|
... 1sg| X|  |  | X|  | X|  X|   |   |  X|
... 1pl| X|  |  | X|  | X|   |  X|  X|   |
... 2sg|  | X| X|  |  | X|  X|   |   |  X|
... 2pl|  | X| X|  |  | X|   |  X|  X|   |
... 3sg|  | X|  | X| X|  |  X|   |   |  X|
... 3pl|  | X|  | X| X|  |   |  X|  X|   |(more...)

src/c/o/concepts-0.7.1/concepts/visualize.py   concepts(Download)
def render_all(filepattern='*.cxt', directory=None, frmat=None):
    from concepts import Context
 
    if directory is not None:
        get_name = lambda filename: os.path.basename(filename)