GoulartNogueira / nlp-pt-br

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NLP

The NLP plugin enables various different types of natural language processing in your vault.

It pulls in a few different nlp libraries and exposes various features of them to your vault.

Features

Text Maniupulation

Using compromise's functions, you can select a range of text and apply different manipulations to it. I won't list every single one ehre, but basically any function in this list that starts with .to can be used. Just search for toUpperCase, for example, in the commmand palette to see different options.

Match Modal

Using compromise's match-syntax, you can run regex-like searches on a note.

Match-syntax is an even more powerful regex search (it enables a superset of it's functionality). It's regex search with an understanding of language.

Read the docs in the link above, play around with it here, or just test it in your vault!

Markup Modal

The Markup Modal uses winkjs's entity recognition functionality to wrap entities (and other things) in whatever you want.

It currently struggles a bit with markdown syntax, but it's a start.

API

NLP also works with other plugins. Currently, it only adds features to Graph Analysis.

With NLP installed (and the Refresh Docs on Load setting enabled), you can use Graph Analysis to run document similarity algortihms on your notes. Without NLP, Grpah Analysis only works with the structure of your graph, not the content of your notes (besides the CoCites algorithm 😋).

It adds these three algs to Graph Analysis (marked with a 💬):

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 99.9%Language:TypeScript 0.0%Language:Svelte 0.0%Language:CSS 0.0%