sentence-splitter
Advanced tools
Comparing version 4.2.0 to 4.2.1
{ | ||
"name": "sentence-splitter", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "split {japanese, english} text into sentences.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -90,3 +90,4 @@ "use strict"; | ||
}); | ||
if (isMatchedPREPOSITIVE_ABBREVIATIONS) { | ||
const isMatchedLineIndexes = /^\d+\.$/.test(currentWord); | ||
if (isMatchedPREPOSITIVE_ABBREVIATIONS || isMatchedLineIndexes) { | ||
return sourceCode.markContextRange([sourceCode.offset, sourceCode.offset + currentWord.length]); | ||
@@ -93,0 +94,0 @@ } |
{ | ||
"name": "sentence-splitter", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "split {japanese, english} text into sentences.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -87,3 +87,4 @@ import { English } from "./lang/English.js"; | ||
}); | ||
if (isMatchedPREPOSITIVE_ABBREVIATIONS) { | ||
const isMatchedLineIndexes = /^\d+\.$/.test(currentWord); | ||
if (isMatchedPREPOSITIVE_ABBREVIATIONS || isMatchedLineIndexes) { | ||
return sourceCode.markContextRange([sourceCode.offset, sourceCode.offset + currentWord.length]); | ||
@@ -90,0 +91,0 @@ } |
{ | ||
"name": "sentence-splitter", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "split {japanese, english} text into sentences.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -98,3 +98,4 @@ import { SourceCode } from "./SourceCode.js"; | ||
}); | ||
if (isMatchedPREPOSITIVE_ABBREVIATIONS) { | ||
const isMatchedLineIndexes = /^\d+\.$/.test(currentWord); | ||
if (isMatchedPREPOSITIVE_ABBREVIATIONS || isMatchedLineIndexes) { | ||
return sourceCode.markContextRange([sourceCode.offset, sourceCode.offset + currentWord.length]); | ||
@@ -101,0 +102,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205565
4129