korobool / MM-demo

0 stars 0 forks source link

develop classes stubs for Analysis logic #4

Closed korobool closed 5 years ago

korobool commented 5 years ago

Design classes that will be used by worker's "textual processing call"

python package

  1. Implement STUB class WeightedListAnalyzer that takes 5-10 first words and gives random scores

    input: text output: [('text', 0.0013),(..., ...),()]

  2. Implement STUB class MMGraphAnalyzer

    input: TEXT + [('text', 0.0013),(..., ...),()] output: a JSON object that goes to queue:

    {
    "id": 0,
    "nodes": [
    {
    "id": 10,
    "nodes": [],
    "text": "test_node1"
    .......

    Top Element == Top Node Random hierarchical tree relations

Organize code

Put all the code to package(s) (folders)

korobool commented 5 years ago
__init__.py
setup.py