Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-nlp-typescript

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-nlp-typescript - npm Package Compare versions

Comparing version 0.1.32 to 0.1.33

dist/xtables/index.d.ts

5

dist/index.d.ts
import { Language } from './language';
import { NlpUtil, NlpManager } from './nlp';
export { Language, NlpUtil, NlpManager };
import { NlpUtil, NlpManager, NlpExcelReader } from './nlp';
import { XTableUtils, XTable, XDoc } from './xtables';
export { Language, NlpUtil, NlpManager, NlpExcelReader, XTableUtils, XTable, XDoc, };

7

dist/index.js

@@ -25,3 +25,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.NlpManager = exports.NlpUtil = exports.Language = void 0;
exports.XDoc = exports.XTable = exports.XTableUtils = exports.NlpExcelReader = exports.NlpManager = exports.NlpUtil = exports.Language = void 0;
const language_1 = require("./language");

@@ -32,1 +32,6 @@ Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return language_1.Language; } });

Object.defineProperty(exports, "NlpManager", { enumerable: true, get: function () { return nlp_1.NlpManager; } });
Object.defineProperty(exports, "NlpExcelReader", { enumerable: true, get: function () { return nlp_1.NlpExcelReader; } });
const xtables_1 = require("./xtables");
Object.defineProperty(exports, "XTableUtils", { enumerable: true, get: function () { return xtables_1.XTableUtils; } });
Object.defineProperty(exports, "XTable", { enumerable: true, get: function () { return xtables_1.XTable; } });
Object.defineProperty(exports, "XDoc", { enumerable: true, get: function () { return xtables_1.XDoc; } });
import NlpUtil from './nlp-util';
import NlpManager from './nlp-manager';
export { NlpUtil, NlpManager };
import NlpExcelReader from './nlp-excel-reader';
export { NlpUtil, NlpManager, NlpExcelReader };

@@ -28,3 +28,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.NlpManager = exports.NlpUtil = void 0;
exports.NlpExcelReader = exports.NlpManager = exports.NlpUtil = void 0;
const nlp_util_1 = __importDefault(require("./nlp-util"));

@@ -34,1 +34,3 @@ exports.NlpUtil = nlp_util_1.default;

exports.NlpManager = nlp_manager_1.default;
const nlp_excel_reader_1 = __importDefault(require("./nlp-excel-reader"));
exports.NlpExcelReader = nlp_excel_reader_1.default;
{
"name": "node-nlp-typescript",
"version": "0.1.32",
"version": "0.1.33",
"description": "nlp.js from axa-group in typescript 🚀. NLP library for building bots 🤖, with entity extraction, sentiment analysis, automatic language identification, and more. ",

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

@@ -25,3 +25,4 @@ /*

import { Language } from './language';
import { NlpUtil, NlpManager } from './nlp';
import { NlpUtil, NlpManager, NlpExcelReader } from './nlp';
import { XTableUtils, XTable, XDoc } from './xtables';

@@ -31,3 +32,7 @@ export {

NlpUtil,
NlpManager
NlpManager,
NlpExcelReader,
XTableUtils,
XTable,
XDoc,
};

@@ -26,6 +26,8 @@ /*

import NlpManager from './nlp-manager';
import NlpExcelReader from './nlp-excel-reader';
export {
NlpUtil,
NlpManager
NlpManager,
NlpExcelReader
}

@@ -8,2 +8,21 @@ declare module '@nlpjs/xtables' {

export class XTableUtils {
static escapeCsv(value: string): string;
static escapeTsv(value: string): string;
}
export class XTable {
static CSV: string;
static TSV: string;
constructor();
load(data: string, type?: string): void;
save(type?: string): string;
getTable(name: string): XTable;
getRows(): Record<string, string>[];
addRow(row: Record<string, string>): void;
addRows(rows: Record<string, string>[]): void;
clearRows(): void;
}
export class XDoc {

@@ -10,0 +29,0 @@ tables: XDocTable[];

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