NLP++ Language ExtensionIn 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 ReleasedOn 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. Tutorial VideosMany of you have been asking for tutorial videos on NLP++ and here is the first set. More coming soon...
Glitter ChatJoin our glitter chat room for VisualText! Only Computer Language Dedicated to 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 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 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 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. 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 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:
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. 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. 2.23.0Enhanced search for sequence files. 2.22.2Can now turn off auto updates. 2.21.0Can now choose log flag for all logs, final logs only, and completely silent. 2.20.10One-level sequence folders should now be working. 2.19.4Adding testing files for regression testing. 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 |