zensols.alsum package

Submodules

zensols.alsum.app module

Summarize text using Component ALignment Abstract Meaning Representation (CALAMR) alignment.

class zensols.alsum.app.Application(reduced_graph_stash)[source]

Bases: object

Summarize text using Component ALignment Abstract Meaning Representation (CALAMR) alignment.

__init__(reduced_graph_stash)
reduced_graph_stash: Stash

CRUDs instances of FlowGraphResult.

render(key, prune=True)[source]

Render the reduced graph.

Parameters:
  • key (str) – the corpus key identifying the graph to render

  • prune (bool) – whether or not to prune 0-flow edges

class zensols.alsum.app.PrototypeApplication(app)[source]

Bases: object

CLI_META = {'is_usage_visible': False}
__init__(app)
app: Application
proto(run=0)[source]

Prototype test.

zensols.alsum.cli module

Command line entry point to the application.

class zensols.alsum.cli.ApplicationFactory(*args, **kwargs)[source]

Bases: ApplicationFactory

__init__(*args, **kwargs)[source]
zensols.alsum.cli.main(args=['/Users/landes/opt/lib/python/default/bin/sphinx-build', '-M', 'html', '/Users/landes/view/nlp/med/alsum/target/doc/src', '/Users/landes/view/nlp/med/alsum/target/doc/build'], **kwargs)[source]
Return type:

ActionResult

zensols.alsum.graph module

Module contents