All Projects → retextjs → Retext Simplify

retextjs / Retext Simplify

Licence: mit
plugin to check phrases for simpler alternatives

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Retext Simplify

Botlibre
An open platform for artificial intelligence, chat bots, virtual agents, social media automation, and live chat automation.
Stars: ✭ 412 (+408.64%)
Mutual labels:  natural-language
Grazi
Grammar checking and more for IntelliJ IDEA
Stars: ✭ 32 (-60.49%)
Mutual labels:  natural-language
Bert In Production
A collection of resources on using BERT (https://arxiv.org/abs/1810.04805 ) and related Language Models in production environments.
Stars: ✭ 58 (-28.4%)
Mutual labels:  natural-language
Mycroft Core
Mycroft Core, the Mycroft Artificial Intelligence platform.
Stars: ✭ 5,489 (+6676.54%)
Mutual labels:  natural-language
Vim Grammarous
A powerful grammar checker for Vim using LanguageTool.
Stars: ✭ 780 (+862.96%)
Mutual labels:  natural-language
Coursera Natural Language Processing Specialization
Programming assignments from all courses in the Coursera Natural Language Processing Specialization offered by deeplearning.ai.
Stars: ✭ 39 (-51.85%)
Mutual labels:  natural-language
Nlp Python Deep Learning
NLP in Python with Deep Learning
Stars: ✭ 374 (+361.73%)
Mutual labels:  natural-language
Rasa nlu chi
Turn Chinese natural language into structured data 中文自然语言理解
Stars: ✭ 1,166 (+1339.51%)
Mutual labels:  natural-language
Mlsql
inferring sql queries from plain-text questions about tables
Stars: ✭ 841 (+938.27%)
Mutual labels:  natural-language
Shift Ctrl F
🔎 Search the information available on a webpage using natural language instead of an exact string match.
Stars: ✭ 1,023 (+1162.96%)
Mutual labels:  natural-language
Nlp Recipes
Natural Language Processing Best Practices & Examples
Stars: ✭ 5,783 (+7039.51%)
Mutual labels:  natural-language
Ring
Innovative and practical general-purpose multi-paradigm language
Stars: ✭ 716 (+783.95%)
Mutual labels:  natural-language
Ieml
IEML semantic language - a meaning-representation system based on semantic primitives and a regular grammar. Basic semantic relationships between concepts are automatically computed from syntactic similarities.
Stars: ✭ 41 (-49.38%)
Mutual labels:  natural-language
Languagetool
Style and Grammar Checker for 25+ Languages
Stars: ✭ 5,641 (+6864.2%)
Mutual labels:  natural-language
When
A natural language date/time parser with pluggable rules
Stars: ✭ 1,113 (+1274.07%)
Mutual labels:  natural-language
Cogcomp Nlp
CogComp's Natural Language Processing libraries and Demos:
Stars: ✭ 410 (+406.17%)
Mutual labels:  natural-language
Wikisql
A large annotated semantic parsing corpus for developing natural language interfaces.
Stars: ✭ 965 (+1091.36%)
Mutual labels:  natural-language
Cognitive Social Crm
An application that monitors a Twitter feed and determines customer sentiment using IBM Watson Assistant, Tone Analyzer, Natural Language Understanding, as well as CloudantDB
Stars: ✭ 71 (-12.35%)
Mutual labels:  natural-language
Text Analytics With Python
Learn how to process, classify, cluster, summarize, understand syntax, semantics and sentiment of text data with the power of Python! This repository contains code and datasets used in my book, "Text Analytics with Python" published by Apress/Springer.
Stars: ✭ 1,132 (+1297.53%)
Mutual labels:  natural-language
Ludwig
Data-centric declarative deep learning framework
Stars: ✭ 8,018 (+9798.77%)
Mutual labels:  natural-language

retext-simplify

Build Coverage Downloads Size Sponsors Backers Chat

retext plugin to check phrases for simpler alternatives.

Install

npm:

npm install retext-simplify

Use

Say we have the following file, example.txt:

You can utilize a shorter word.
Be advised, don’t do this.
That’s the appropriate thing to do.

…and our script, example.js, looks as follows:

var vfile = require('to-vfile')
var report = require('vfile-reporter')
var retext = require('retext')
var simplify = require('retext-simplify')

retext()
  .use(simplify)
  .process(vfile.readSync('example.txt'), function(err, file) {
    console.error(report(err || file))
  })

Yields:

example.txt
   1:9-1:16  warning  Replace `utilize` with `use`                                utilize      retext-simplify
   2:1-2:11  warning  Remove `Be advised`                                         be-advised   retext-simplify
  3:12-3:23  warning  Replace `appropriate` with `proper`, `right`, or remove it  appropriate  retext-simplify

⚠ 3 warnings

API

retext().use(simplify[, options])

Check phrases for simpler alternatives.

options.ignore

Phrases not to warn about (Array.<string> - ruleIds).

Messages

Each message is emitted as a VFileMessage on file, with the following fields:

message.source

Name of this plugin ('retext-simplify').

message.ruleId

Normalized not ok phrase (string, such as 'utilize').

message.actual

Current not ok phrase (string, such as 'Utilize').

message.expected

List of suggestions (Array.<string>, such as ['use']).

Related

Contribute

See contributing.md in retextjs/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Titus Wormer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].