Prosebot is a template-based natural language generation application

Related tags

Templating prosebot
Overview

Prosebot

Prosebot is a template-based natural language generation application. Throughout the last years, ZOS has been developing Prosebot, alongside their collaboration with FEUP, as part of the zerozero.pt project.

It started as a generator of matches’ summaries from sports data extracted from the zerozero.pt database. The system is already being used by zerozero.pt’s empowered users to automatically generate summaries for football matches that range from amateur to professional leagues, from senior footballers to the young football academies.

As a result of a dissertation project led by Nuno Cardoso (LinkedIn, GitHub) at FEUP, in collaboration with zerozero.pt, Prosebot is now an open-source system that the community can explore. The system achieved yet a context generalization, making it possible for users to introduce new domains and templates. The current version available has a fully operational football context for generating summaries of matches and a dummy context example for weather reporting.

Contexts Available

  • Football (full)
  • Weather (dummy example)

Supported Languages

Currently, Prosebot has full support for the following languages:

  • Brazilian Portuguese
  • English
  • European Portuguese
  • Spanish

However, new languages can be added by the community. Please read the following tutorial on how to add new languages to the system.

The components

The Prosebot system is composed of the following components as depicted here:

  • Prosebot (generator and validator): the PHP natural language generator and templates validation algorithm;
  • Prosebot Editor: a copy of the template files and API for their management;
  • Templates Management Platform: a React JS user-friendly interface for helping manage of the templates.

Get started

Prosebot

Prosebot was developed under PHP version 7.4.28. To start the Prosebot application run:

cd prosebot
php -S localhost 8080

Prosebot Editor

To start the Prosebot Editor API run:

cd prosebot-editor
php -S localhost 8081

Templates Management Platform

The web-app was developed under the CoreUI Free React Admin Template version 4.3.0. To start the Templates Management Platform run:

cd web-app
npm install
npm start

Documentation

For more details regarding architecture, descriptions, and tutorials, please read the Prosebot Documentation.

License

Prosebot is licensed under GNU General Public License version 3.0.

OpenWeather(TM) is the weather data provider of the samples used in the dummy weather example. This sample data is made available under the Open Database License: http://opendatacommons.org/licenses/odbl/1.0/. Any rights in individual contents of the database are licensed under the Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/

You might also like...
PHP template engine for native PHP templates

FOIL PHP template engine, for PHP templates. Foil brings all the flexibility and power of modern template engines to native PHP templates. Write simpl

A lightweight template parser used by PyroCMS.

Lex Lex is a lightweight template parser. Lex is released under the MIT License and is Copyrighted 2011 - 2014 PyroCMS Team. Change Log 2.3.2 Convert

Laravel package template

REPLACE Simple and flexible package template. Usage Replace all occurances of REPLACE (case sensitive) with the name of the package namespace. E.g. th

A ready-to-use Model View Controller template in PHP

PHP-MVC-Template A ready-to-use Model View Controller template in PHP Use this repo as a template! (Or clone it) Start to configure your MVC file Afte

The Templating component provides all the tools needed to build any kind of template system.

Templating Component The Templating component provides all the tools needed to build any kind of template system. It provides an infrastructure to loa

Provides a GitHub repository template for a PHP package, using GitHub actions.

php-package-template Installation 💡 This is a great place for showing how to install the package, see below: Run $ composer require ergebnis/php-pack

The free-to-use template for your Imagehost-website made with PHP, HTML and CSS!
The free-to-use template for your Imagehost-website made with PHP, HTML and CSS!

The free-to-use template for your Imagehost-website made with PHP, HTML and CSS! Some information before we start This repo is only code related, to a

Document templates Laravel package is intended for creating/managing user editable document template
Document templates Laravel package is intended for creating/managing user editable document template

Document Templates Introduction Document templates Laravel package is intended for creating/managing user editable document templates, with ability to

The free-to-use template for your Imagehost-website made with PHP, HTML and CSS!
The free-to-use template for your Imagehost-website made with PHP, HTML and CSS!

The free-to-use template for your Imagehost-website made with PHP, HTML and CSS! Some information before we start This repo is only code related, to a

Owner
Zerozero
Zerozero
Twig, the flexible, fast, and secure template language for PHP

Twig, the flexible, fast, and secure template language for PHP Twig is a template language for PHP, released under the new BSD license (code and docum

Twig 7.7k Jan 1, 2023
A complete and fully-functional implementation of the Jade template language for PHP

Tale Jade for PHP Finally a fully-functional, complete and clean port of the Jade language to PHP — Abraham Lincoln The Tale Jade Template Engine brin

Talesoft 91 Dec 27, 2022
A template abstraction prototype for PHP template engines

Schranz Templating A template abstraction prototype for PHP template engines. This project should help to find a way for a general Template Render Int

Schranz Templating 16 Dec 7, 2022
A next generation symfony website landing page with dark mode.

Symfony Web App template themes A next generation symfony website landing page with dark mode.

Mesin Kasir 2 Aug 9, 2022
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.

Smarty 3 template engine smarty.net Documentation For documentation see www.smarty.net/docs/en/ Requirements Smarty can be run with PHP 5.2 to PHP 7.4

Smarty PHP Template Engine 2.1k Jan 1, 2023
Multi target HAML (HAML for PHP, Twig, )

Multi target HAML MtHaml is a PHP implementation of the HAML language which can target multiple languages. Currently supported targets are PHP and Twi

Arnaud Le Blanc 363 Nov 21, 2022
Provides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.

Aura View This package provides an implementation of the TemplateView and TwoStepView patterns using PHP itself as the templating language. It support

Aura for PHP 83 Jan 3, 2023
Native PHP template system

Plates Plates is a native PHP template system that's fast, easy to use and easy to extend. It's inspired by the excellent Twig template engine and str

The League of Extraordinary Packages 1.3k Jan 7, 2023
☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites.

Latte: amazing template engine for PHP Introduction Latte is a template engine for PHP which eases your work and ensures the output is protected again

Nette Foundation 898 Dec 25, 2022
View template engine of PHP extracted from Laravel

Blade 【简体中文】 This is a view templating engine which is extracted from Laravel. It's independent without relying on Laravel's Container or any others.

刘小乐 143 Dec 13, 2022