python-markdown-keywords

Sequence that suggests keywords for header in *.md. This is also an easy example of usage Kaffka with Scramjet platform.

Description

  • Name: @scramjet/python-markdown-keywords
  • Version: 0.23.0
  • Language: python
  • Author: Tatarinho
  • Tags: medium,Natural Language,keyword extraction,Big Data/BI/MarTech,Data Transformer

Easy example of usage Kaffka with Scramjet platform.

Running

❗ Remember to setup transform-hub locally or use the platform's environment for the sequence deployment.

Open two terminals and run the following commands:

The first terminal:

# go to 'markdown-keywords' directory cd python/markdown-keywords # build npm run build

If you run this sample on Self Hosted Hub, please start it with process adapter option:

DEVELOPMENT=1 sth --runtime-adapter=process

Once you've built it, you need to deploy it.

si seq deploy dist

Now you can pass *.md file to instance input., for example README.md

si inst input - README.md

The second terminal

Now you should be able to see on the output the content of README.md file:

si inst output <INSTANCE_ID>