NLP++ Language Extension
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 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, you need to install the NLP-ENGINE (Linux only for now, Windows and Mac versions coming soon). Example analyzers can be found in the NLP-ENGINE directory (see below).
The NLP++ Language extension depends on the NLP-ENGINE on the VisualText github repository which must be downloaded from github and compiled. The executable nlp.exe currently only compiles for Linux but can be run on Windows using the Windows Subsystem for Linux (see below). Native NLP-ENGINES for Windows and Mac are expected in the near future.
Running on Windows
To run the NLP++ Language Extension on windows, you need:
Types of Analyzers Commonly Written Using NLP++
There are many types of analyzers that are written by NLP++ programmers including:
There are several json files that hold configuration and states for VisualText for VSCode:
This json file is located in the .vscode directory in a folder that holds analyzers for that workspace.
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.
You must have installed the NLP-ENGINE in order to use this VSCode extension. You can find how to install this at: https://github.com/VisualText/vscode-nlp.
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.
There are many details in the windows version of VisualText that are yet to be implemented in the VSCode version.
This language extension is dependent on the NLP-ENGINE. Currently, the NLP-ENGINE only runs on Linux but can be used on windows uing the Windows Linux Subsystem.
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