NLP++ Language ExtensionFirst Textbook on the NLP++ Programming LangaugeThe first textbook on NLP++ is now available world-wide by BPB Online. NLP++ can replace LLMs when used in agentic flows. The code must be written by a human like any other programming language and this book will facilitate this process. NLP++ is no a statistical system that needs training. It relies on the ingenuity of the programmer to create a program that can parse text and extract information in a deterministic way.
In November of 2023, the Natural Language Understanding Global Initiative was born to help coordinate the growing efforts of students, faculty, and researchers in the open-source natural language understanding community. Version 3 announcementVersion 3 adds support for compiling analyzers and the knowledge base (KB). This provides two major advantages:
Version 3.1 adds a KB-only compile path and a matching Compiled KB run mode so the knowledge base can be compiled and shipped on its own. With engine 3.1.44+ (shipped in extension 3.1.21), Compiled mode now runs the full analyzer body from native shared libraries on Linux and macOS too — previously this was Windows-only with rules staying interpreted on the other platforms. Version 2 milestoneOn December 29, 2022, Version 2 introduced the ability to build and use the analyzer view together with the updated NLP-ENGINE. Tutorial VideosMany of you have been asking for tutorial videos on NLP++ and here is the first set. More coming soon...
NLP Discourse ForumBecause of NLP++ being 100% open-source, Discourse has donated a free NLP Forum for NLP++: https://nlp.discourse.group. There, in the community, users can ask questions and discuss NLP++ and VisualText. Only Computer Language Dedicated to Text and Natural Language ProcessingNLP++ is the only computer language in the world exclusively dedicated to natural language processing. It allows for creating digital human readers that use linguistic and world knowledge to parse, tag, interpret, and extract information from text. NLP++ and VisualText Now UnicodeThe NLP-Engine for NLP++ now works with Unicode (UTF8 via the ICU C++ Package) including the ability to work with emojis.
Quick Video GuidesFind quick video guides on how to install and use VisualText including a "hello world" video as well as an in-depth tour of VisualText. IntroductionThis is a VSCode Language Extension for NLP++ that recreates the functionality of VisualText which has run on Microsoft Windows for the last two decades. NLP++ is a open source computer language designed specifically for text and natural language processing. This extension runs on Linux, Windows, and MacOS. The language extension and the required NLP-ENGINE run on Linux, Windows, and MacOS. FeaturesThe VSCode NLP++ Language Extension allows for the fast development of NLP++ analyzers allowing users to:
NLP++ Example AnalyzersExample analyzers can be found in the "analyzers" folder in the NLP-ENGINE folder.
RequirementsIn order to use the VSCode NLP++ Language Extension, the NLP-ENGINE which is in the form of an executable and directory need to be present. Version one now includes this as part of the NLP language extension. NLP Engine OverviewThe NLP-ENGINE now comes with the NLP++ Language extension but is available separately from the VisualText github repository. The engine can run as a stand alone executable outside of the language extension. Compile build modesThe extension supports two ways to turn a
Compile Asset Requirements (local mode only)For
The updater in Cloud mode doesn't need any of this — the compile-libs live on the runner side. Types of Analyzers Commonly Written Using NLP++There are many types of analyzers that are written by NLP++ programmers including:
Analyzer state.jsonThis file will automatically get generated when a new analyzer is created in VisualText VSCode. It is located in the .vscode directory under the folder for an individual analyzer.
Known IssuesClick here for known issues. Release NotesFor the complete list of changes and release notes, click here. 3.1.21Bumps the bundled engine to v3.1.44 (and updates the auto-updater to follow). The new engine enables compiled-RUN dispatch on Linux and macOS — 3.1.20Linux and macOS: the extension's "Compile Analyzer and KB to C++ Library" command now stages the cloud-built 3.1.10Renamed the existing analyzer compile command to "Compile Analyzer and KB to C++ Library". "Compile KB to C++ Library" now invokes 3.0.0Added support for compiling analyzers and the knowledge base (KB). Benefits include faster execution and protection of native NLP++ source code when analyzers are distributed to customers without access to the NLP++ source. 2.49.6Now has different colorization for light and dark themes. 2.48.5Opens the local html files in the browser instead of online. 2.47.0Fixing display for light themes. This is not complete. There must be a way to make it automatifc for textmate colorization. See settings-light.json. 2.46.1Put add mod back into the sequence view. 2.45.5Added load python library files. 2.44.4No longer displaying old KB files. 2.43.8Fixing duplicate pass with folders, the N("$text",1) snippet, and copying context line from file above. 2.43.0Added file comparison to library files in the sequence. 2.42.4Allows for selecting multiple analyzer blocks when creating analyzer and to insert analyzer blocks into an existing sequence. 2.40.4Fixed folder creation and moving. 2.39.0Added highlighting of dictionary matches. 2.36.4Added capability to call Python scripts that run on the text in a text window. 2.35.0Reorganization of library dictionaries, kbs, and mod files 2.34.2Added Portuguese dictionaries in KB context menu. 2.33.2Updated vscode extension path for linux. 2.32.3Added readme files editing in Analyzer window anywhere. Misc fixes. 2.31.3When loading an analyzer, check to see if the hier.kb file needs updating (added the "emoji" path recently). 2.30.1Can now create an ECL file. 2.29.1Removed icu library transfers for Linux and Macos because no longer needed. 2.28.11Fixed error display (again) 2.27.3Overhauled the reformat rule in general. It also now includes the suggested node and ending @@. Also, it now has reformat to one line and reformat with paren attributes listed on separate lines. 2.26.2Added HPCC Systems manifest file generation to the analyzer view. This allows for sending NLP++ files to the HPCC Server to run using the HPCC Systems NLP++ Plugin. 2.25.7Added fast load option for the TextView for large number of files 2.24.6Can now display fired rules from dictionaries. DevelopmentVSCode Language ExtensionFollow these instructions to install the development code for VSCode extension:
At which point you can edit the sources and launch debug sessions via F5 and included launch configurations. NLP EngineThe NLP Engine which is written in C++ is also open source and can be downloaded in development mode. You can find how to download and develop the NLP Engine code at: https://github.com/VisualText/nlp-engine License |



