cedict-tools
Advanced tools
Comparing version 2.0.0 to 2.0.1
"use strict"; | ||
var segmenting_trie_1 = require("segmenting-trie"); | ||
var fs = require("fs"); | ||
var path = require("path"); | ||
var _ = require("lodash"); | ||
@@ -17,3 +18,3 @@ var CedictTools; | ||
} | ||
var cedictRecords = fs.readFileSync('./cedict_ts.u8', 'utf8') | ||
var cedictRecords = fs.readFileSync(path.join(__dirname, '../cedict_ts.u8'), 'utf8') | ||
.split('\r\n') | ||
@@ -20,0 +21,0 @@ .filter(function (line) { return line[0] !== '#' && line.length > 0; }) |
{ | ||
"name": "cedict-tools", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Jan Soendermann", |
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
8846827
93