nlptoolkit-morphologicalanalysis
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -23,2 +23,3 @@ (function (factory) { | ||
constructor(parse) { | ||
this.metaMorphemeList = new Array(); | ||
if (parse == "+") { | ||
@@ -30,4 +31,5 @@ this.root = new Word_1.Word("+"); | ||
this.root = new Word_1.Word(words[0]); | ||
for (let i = 1; i < words.length; i++) | ||
for (let i = 1; i < words.length; i++) { | ||
this.metaMorphemeList.push(words[i]); | ||
} | ||
} | ||
@@ -34,0 +36,0 @@ } |
{ | ||
"name": "nlptoolkit-morphologicalanalysis", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Turkish Morphological Analysis Library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -475,3 +475,3 @@ import {MorphologicalTag} from "./MorphologicalTag"; | ||
private metaMorphemeList: Array<string> | ||
private metaMorphemeList: Array<string> = new Array<string>() | ||
private readonly root: Word | ||
@@ -529,4 +529,5 @@ | ||
this.root = new Word(words[0]); | ||
for (let i = 1; i < words.length; i++) | ||
for (let i = 1; i < words.length; i++){ | ||
this.metaMorphemeList.push(words[i]); | ||
} | ||
} | ||
@@ -533,0 +534,0 @@ } |
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
11016209
13761