New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jsrealb

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsrealb

English and French text realizer

latest
Source
npmnpm
Version
5.4.0
Version published
Maintainers
1
Created
Source

jsRealB - A JavaScript Bilingual Text Realizer for Web Development

Version 5.0.0 - December 2023

Natural Language Generation (NLG) is a field of artificial intelligence that focuses on the development of systems that produce text for different applications, for example the textual description of massive datasets or the automation of routine text creation.

The web is constantly growing and its content, getting progressively more dynamic, is well-suited to automation by a realizer. However existing realizers are not designed with the web in mind and their operation requires much knowledge, complicating their use.

jsRealB is a text realizer designed specifically for the web, easy to learn and to use. This realizer allows its user to build a variety of French and English expressions and sentences, to add HTML tags to them and to easily integrate them into web pages.

The documentation can be accessed here. You can switch language in the upper right corner of the page.

Example of use of npm package once it is installed

// for CommonJS script
// let jsRealB=require("jsrealb")
// for an ES module use one of the two following 
import jsRealB from "jsrealb"
// let {default:jsRealB} = await import("jsrealb") 

// make exports available in the global scope
Object.assign(globalThis,jsRealB)

// realize the English sentence : "The cats will chase the mouse."
loadEn(true)
console.log(""+S(NP(D("the"),N("cat")),VP(V("chase"),NP(D("the"),N("mouse")))).n("p").t("f"))

Guy Lapalme

Keywords

Natural Language Generation

FAQs

Package last updated on 07 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts