RosaeNLG

免费增值
通过 Ludan Stoeckle | 已更新 vor 2 Monaten | Text Analysis

RosaeNLG 概览

关注者:1
资源:
产品网站
API 创建者:
avatar
Ludan Stoeckle
ludan
给 API 打分:
登录并给 API 打分

README

NLG stands for Natural Language Generation. The goal of NLG is to generate texts automatically from data, with the same quality as if a human beeing had written it.
Templates have to be created using open-source RosaeNLG before being rendered using the API.

RosaeNLG is an open-source Natural Language Generator (NLG).
NLG stands for Natural Language Generation. The goal of NLG is to generate texts automatically from data, with the same quality as if a human beeing had written it.

This API allows the rendering of RosaeNLG templates. You first have to create valid RosaeNLG templates, and then pack them, before using the API for rendering.

See complete documentation here.

Example of RosaeNLG template:

- var data = ['apples', 'bananas', 'apricots', 'pears'];
p
  eachz fruit in data with { separator: ',', last_separator: 'and', begin_with_general: 'I love', end:'!' }
    | #{fruit}

will render: <p>I love apples, bananas, apricots and pears!</p>

You can either use the API here or host yourself: all the code (node.js server or lambda function) is open-source too.

打分:5 - 投票:1