New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rp-paragraph-splitter

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rp-paragraph-splitter - npm Package Compare versions

Comparing version 1.0.0-beta01 to 1.0.0-beta02

2

lib/paragraph.js

@@ -43,3 +43,3 @@ var Sentence = require('./sentence');

if(last.fullDialogue) {
if(last.fullDialogue && sentence.length > settings.topicLength) {
close = true;

@@ -46,0 +46,0 @@ }

{
"name": "rp-paragraph-splitter",
"version": "1.0.0-beta01",
"version": "1.0.0-beta02",
"description": "Splits walls of text into paragraphs, focusing on dialogue.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,3 +20,3 @@ # RP Paragraph Splitter

1. Length is past 45 words, the current sentence is 7 words long, the first dialogue has been done, and it's not in the middle of dialogue.
2. The current sentence is one complete quotation.
2. The last sentence is one complete quotation, and the current is 7 words long.
3. The first word is a character name.

@@ -74,3 +74,3 @@

- `int paragraphLength`: The minimum length for rule 1.
- `ìnt topicLength`: The topic sentence length for rul.e 1 and 3.
- `function characterCallback(string name)`: Where to ask for character, the rule looks for `true` or any non-null object as success. The argument is the first word in lowercase.
- `ìnt topicLength`: The topic sentence length for rule 1 and 2.
- `function characterCallback(string name)`: Where to ask for character, the rule looks for `true` or any non-null object as success. The `name` argument is the first word in lowercase.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc