NLP++ Language Extension
In November of 2023, the Natural Language Understanding Global Initiative was born to help coordinate the growing efforts of students, faculty, and researchers from around the world who are developing dictionaries, knowledge bases, and analyzers using NLP++, VisualText, and the Conceptual Grammar.
Version 2 Released
On December 29, 2022, version 2 was released. Since the NLP++ language extension is updated frequently, the new version is more of a formality. The major change is the ability to build and use the .kbb files to load a knowledge base. This is in conjunction with version 2 of the NLP Engine which is necessary for reading .kbb files into the knowledge base.
Many of you have been asking for tutorial videos on NLP++ and here is the first set. More coming soon...
Only Computer Language Dedicated to Natural Language Processing
NLP++ 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 and understand text. Whether it be for extracting or marking up "messy" text or full-blown NLP understanding, this language allows for "anything thinkable".
NLP++ and VisualText Now Unicode
The NLP-Engine for NLP++ now works with Unicode (UTF8 via the ICU C++ Package) including the ability to work with emojis.
Quick Video Guides
Find quick video guides on how to install and use VisualText including a "hello world" video as well as an in-depth tour of VisualText.
This 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 specifically dedicated to creating text analyzers that mimic human readers and includes the NLP++ language and knowledge based system called the "conceptual grammar". NLP++ is used for any type of text processing from simple tagging or extraction, to full language parsing. There is a full english parser that is free an available for use (see information below).
The language extension and the required NLP-ENGINE run on Linux, Windows, and MacOS.
The VSCode NLP++ Language Extension allows for the fast development of NLP++ analyzers allowing users to:
NLP++ Example Analyzers
Example analyzers can be found in the "analyzers" folder in the NLP-ENGINE folder.
In 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 Overview
The NLP-ENGINE now comes with the NLP++ Language extension but is available separately from the VisualText github repository. The engine can run as a standalone executable (nlp.exe) that runs on Linux, Windows, and MacOS or it can be embedded into c++ code.
Types of Analyzers Commonly Written Using NLP++
There are many types of analyzers that are written by NLP++ programmers including:
This 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.
Click here for known issues.
For the complete list of changes and release notes, click here.
Added capability to call Python scripts that run on the text in a text window.
Reorganization of library dictionaries, kbs, and mod files
Added Portuguese dictionaries in KB context menu.
Updated vscode extension path for linux.
Added readme files editing in Analyzer window anywhere. Misc fixes.
When loading an analyzer, check to see if the hier.kb file needs updating (added the "emoji" path recently).
Can now create an ECL file.
Removed icu library transfers for Linux and Macos because no longer needed.
Fixed error display (again)
Overhauled 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.
Added 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.
Added fast load option for the TextView for large number of files
Can now display fired rules from dictionaries.
Enhanced search for sequence files.
Can now turn off auto updates.
Can now choose log flag for all logs, final logs only, and completely silent.
One-level sequence folders should now be working.
Adding testing files for regression testing.
If a pass exists, replace it when inserting a library pass. This in effect "updates" the file which is often the case with KBFuncs.nlp.
Added mod files allowing for saving and loading multiple files together in one file.
Put active toggle on sequence passes.
Now opening files to the side that are modified or called by a context menu.
Renaming now changes header comment. Dupliation intelligently increments end number.
Added icon buttons to directly open tutorial videos.
VSCode Language Extension
Follow 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.
The 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.