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

nlptoolkit-dictionary

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nlptoolkit-dictionary - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

1

dist/Dictionary/Word.d.ts

@@ -100,2 +100,3 @@ export declare class Word {

static isMoney(surfaceForm: string): boolean;
static toCapital(surfaceForm: string): string;
/**

@@ -102,0 +103,0 @@ * The isPunctuation method without any argument, it checks name variable whether it is a punctuation or not and

@@ -182,2 +182,5 @@ (function (factory) {

}
static toCapital(surfaceForm) {
return surfaceForm.substring(0, 1).toLocaleUpperCase("tr") + surfaceForm.substring(1);
}
/**

@@ -184,0 +187,0 @@ * The isPunctuation method without any argument, it checks name variable whether it is a punctuation or not and

2

package.json
{
"name": "nlptoolkit-dictionary",
"version": "1.0.10",
"version": "1.0.11",
"description": "Turkish Dictionary",

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

@@ -186,2 +186,6 @@ import {TurkishLanguage} from "../Language/TurkishLanguage";

static toCapital(surfaceForm: string): string{
return surfaceForm.substring(0, 1).toLocaleUpperCase("tr") + surfaceForm.substring(1)
}
/**

@@ -188,0 +192,0 @@ * The isPunctuation method without any argument, it checks name variable whether it is a punctuation or not and

@@ -30,2 +30,7 @@ import * as assert from "assert";

});
it('testToCapital', function() {
assert.strictEqual("Ali", Word.toCapital("ali"))
assert.strictEqual("İlginç", Word.toCapital("ilginç"))
assert.strictEqual("Ç", Word.toCapital("ç"))
});
it('testIsPunctuation', function() {

@@ -32,0 +37,0 @@ assert.ok(Word.isPunctuation("."));

Sorry, the diff of this file is not supported yet

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