diff --git a/README.md b/README.md index f67afbb..227817c 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Alignments provide many valuable benefits to translators including: * **n-gram (word or phrase)**: A contiguous sequence of n tokens from a given sample of text. An n-gram containing a single token is referred to as a "unigram"; two tokens is a "bigram", etc. For example: "hello" is a unigram, while "hello world" is a bigram. * **Unaligned Sentence Pair**: A sentence in two languages that need to be aligned. e.g. a sentence from a primary text and secondary text. * **Alignment**: Two individual `n-grams` that have been matched from two texts. e.g. from a primary text and secondary text. -* **Saved Alignment**: An alignment that has been approved/corrected by the user. +* **Saved Alignment (Alignment Memory)**: An alignment that has been approved/corrected by the user. * **Engine**: Contains a index of every permutation of possible `n-gram` `alignments`. And an index of `saved alignments`. * **Corpus**: The input dataset which is the primary and secondary text given as a list of `unaligned sentence pairs`. This is used in training the engine. Note: This is not input directly provided by the user. * **Tokenization**: Separating a sentence into individual words and punctuation. diff --git a/package-lock.json b/package-lock.json index f7c8a80..e9b6483 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wordmap", - "version": "0.4.0", + "version": "0.4.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -4092,9 +4092,9 @@ "dev": true }, "nan": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.0.tgz", - "integrity": "sha512-F4miItu2rGnV2ySkXOQoA8FKz/SR2Q2sWP0sbTxNxz/tuokeC8WxOhPMcwi0qIyGtVn/rrSeLbvVkznqCdwYnw==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", + "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==", "dev": true, "optional": true }, @@ -5587,6 +5587,18 @@ } } }, + "string-punctuation-tokenizer": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/string-punctuation-tokenizer/-/string-punctuation-tokenizer-0.9.1.tgz", + "integrity": "sha512-RQ6eM/obcPVc0oWNhbDnyZGl/uOaYSNMOhcHbrSvEVeqn5YfJhtnQ1nmDpCnc105Qm5FSLZQWjIrIRKjd9Jrmw==", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "rimraf": "^2.6.2", + "transform-runtime": "0.0.0", + "xregexp": "^4.1.1" + } + }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", @@ -6229,26 +6241,12 @@ "optional": true }, "wordmap-lexer": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/wordmap-lexer/-/wordmap-lexer-0.3.1.tgz", - "integrity": "sha512-MpYAbEzxVV1z0H28CmM4VL7xkIIJKrTjg6/rLiownQsITNqHC72wO3XrStbY3z54JYAxIqQFPkAIuUumMAIdJw==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/wordmap-lexer/-/wordmap-lexer-0.3.3.tgz", + "integrity": "sha512-xlThHKZfT0zSl1hTesfHPmwVNKP7X4qfD4Ll7cQqHFG9K9pX2cQKxz6JHe3f/GBTmyYTfquXYH/BJysKvXKlWw==", "dev": true, "requires": { - "string-punctuation-tokenizer": "^0.9.0" - }, - "dependencies": { - "string-punctuation-tokenizer": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/string-punctuation-tokenizer/-/string-punctuation-tokenizer-0.9.0.tgz", - "integrity": "sha512-mEwEktrTTXfTN9JMf8KUXcz+1gbp1vo2y/67lJpM1JWh4fLNrFtvbKIb0d0yUpsVp1xbNT0ZidyE+nr6FS2sjA==", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "rimraf": "^2.6.2", - "transform-runtime": "0.0.0", - "xregexp": "^4.1.1" - } - } + "string-punctuation-tokenizer": "0.9.1" } }, "wordwrap": { @@ -6319,9 +6317,9 @@ "dev": true }, "xregexp": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.1.1.tgz", - "integrity": "sha512-QJ1gfSUV7kEOLfpKFCjBJRnfPErUzkNKFMso4kDSmGpp3x6ZgkyKf74inxI7PnnQCFYq5TqYJCd7DrgDN8Q05A==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.2.0.tgz", + "integrity": "sha512-IyMa7SVe9FyT4WbQVW3b95mTLVceHhLEezQ02+QMvmIqDnKTxk0MLWIQPSW2MXAr1zQb+9yvwYhcyQULneh3wA==", "dev": true }, "y18n": { diff --git a/package.json b/package.json index 4adc879..0036860 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wordmap", - "version": "0.4.0", + "version": "0.4.1", "description": "Multi-Lingual Word Alignment Prediction", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -63,13 +63,13 @@ "tslint": "^5.11.0", "typedoc": "^0.12.0", "typescript": "^3.0.3", - "wordmap-lexer": "^0.3.1" + "wordmap-lexer": "^0.3.3" }, "dependencies": { "@types/yargs": "^11.0.0", "yargs": "^11.0.0" }, "peerDependencies": { - "wordmap-lexer": "^0.3.1" + "wordmap-lexer": "0.3.3" } }