NLP++ Language Extension
Version One Released!
Version one of the NLP langauge extension for VSCODE has been released. This version comes with the engine built in for all three platforms. It is no longer necessary to load the NLP engine separately from github.
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 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.
The NLP-ENGINE is available separately on the VisualText github repository which must be downloaded from github and compiled. The executable nlp.exe and runs on Linux, Windows, and MacOS and can be embedded into c++ code.
Compiling the NLP ENGINE
Currently, the NLP ENGINE must be downloaded and compiled separately. It will be bundled with the VSCODE-NLP language extension in the near future. The code and compiling instructions can be found in the NLP-ENGINE Repository
Types of Analyzers Commonly Written Using NLP++
There are many types of analyzers that are written by NLP++ programmers including:
Version 1 of the NLP language extension now contains the path to the nlp-engine directory, the current analyzer to load, and the user name. These can be found in the general settings unders "Extensions" and "NLP".
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.
VSCode Language Extension
Follow these instructions to install the development code for VSCode extension:
At which point you can open the
Next start the background build process by running the following command within a terminal session:
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/vscode-nlp.
There are many details in the windows version of VisualText that are yet to be implemented in the VSCode version.
Added duplicate line for rule editor
The NLP engine executable and engine directory are now included in the NLP language extension for VSCode. The location of the engine is located in a subdirectory of the nlp extensions located in the extension directory located on the local computer. See documentation for VSCODE if you want to know the location of the directory which is different for different platforms.
Fixing minor problems
Fixing paths for calling nlp.exe and missing npm package
Fixed file path problem across platforms
Initial version with ongoing minor fixes