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

nlptoolkit-morphologicalanalysis

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nlptoolkit-morphologicalanalysis - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

1

dist/MorphologicalAnalysis/Transition.d.ts

@@ -8,3 +8,2 @@ import { State } from "./State";

private readonly withName;
private formationToCheck;
private readonly _toPos;

@@ -11,0 +10,0 @@ /**

27

dist/MorphologicalAnalysis/Transition.js

@@ -31,3 +31,2 @@ (function (factory) {

this.withName = undefined;
this.formationToCheck = undefined;
this._toPos = undefined;

@@ -267,3 +266,3 @@ this._with = _with;

}
this.formationToCheck = stem;
let formationToCheck;
//---vowelEChangesToIDuringYSuffixation---

@@ -274,3 +273,3 @@ //de->d(i)yor, ye->y(i)yor

formation = stem.substring(0, stem.length - 1) + 'i';
this.formationToCheck = formation;
formationToCheck = formation;
}

@@ -283,3 +282,3 @@ else {

formation = stem.substring(0, stem.length - 2) + stem.charAt(stem.length - 1);
this.formationToCheck = stem;
formationToCheck = stem;
}

@@ -291,3 +290,3 @@ else {

formation = stem + 'y';
this.formationToCheck = formation;
formationToCheck = formation;
}

@@ -316,3 +315,3 @@ else {

}
this.formationToCheck = formation;
formationToCheck = formation;
}

@@ -346,3 +345,3 @@ else {

}
this.formationToCheck = stem;
formationToCheck = stem;
}

@@ -393,3 +392,3 @@ else {

}
this.formationToCheck = formation;
formationToCheck = formation;
}

@@ -434,17 +433,17 @@ }

case 'D':
formation = MorphotacticEngine_1.MorphotacticEngine.resolveD(root, formation, this.formationToCheck);
formation = MorphotacticEngine_1.MorphotacticEngine.resolveD(root, formation, formationToCheck);
break;
case 'A':
formation = MorphotacticEngine_1.MorphotacticEngine.resolveA(root, formation, rootWord, this.formationToCheck);
formation = MorphotacticEngine_1.MorphotacticEngine.resolveA(root, formation, rootWord, formationToCheck);
break;
case 'H':
if (this._with.charAt(0) != '\'') {
formation = MorphotacticEngine_1.MorphotacticEngine.resolveH(root, formation, i == 0, this._with.startsWith("Hyor"), rootWord, this.formationToCheck);
formation = MorphotacticEngine_1.MorphotacticEngine.resolveH(root, formation, i == 0, this._with.startsWith("Hyor"), rootWord, formationToCheck);
}
else {
formation = MorphotacticEngine_1.MorphotacticEngine.resolveH(root, formation, i == 1, false, rootWord, this.formationToCheck);
formation = MorphotacticEngine_1.MorphotacticEngine.resolveH(root, formation, i == 1, false, rootWord, formationToCheck);
}
break;
case 'C':
formation = MorphotacticEngine_1.MorphotacticEngine.resolveC(formation, this.formationToCheck);
formation = MorphotacticEngine_1.MorphotacticEngine.resolveC(formation, formationToCheck);
break;

@@ -465,3 +464,3 @@ case 'S':

}
this.formationToCheck = formation;
formationToCheck = formation;
}

@@ -468,0 +467,0 @@ return formation;

{
"name": "nlptoolkit-morphologicalanalysis",
"version": "1.0.7",
"version": "1.0.8",
"description": "Turkish Morphological Analysis Library",

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

@@ -13,3 +13,2 @@ import {State} from "./State";

private readonly withName: string = undefined
private formationToCheck: string = undefined
private readonly _toPos: string = undefined

@@ -264,3 +263,3 @@

}
this.formationToCheck = stem;
let formationToCheck;
//---vowelEChangesToIDuringYSuffixation---

@@ -271,3 +270,3 @@ //de->d(i)yor, ye->y(i)yor

formation = stem.substring(0, stem.length - 1) + 'i';
this.formationToCheck = formation;
formationToCheck = formation;
} else {

@@ -279,3 +278,3 @@ //---lastIdropsDuringPassiveSuffixation---

formation = stem.substring(0, stem.length - 2) + stem.charAt(stem.length - 1);
this.formationToCheck = stem;
formationToCheck = stem;
} else {

@@ -286,3 +285,3 @@ //---showsSuRegularities---

formation = stem + 'y';
this.formationToCheck = formation;
formationToCheck = formation;
} else {

@@ -309,3 +308,3 @@ if (rootWord && root.duplicatesDuringSuffixation() && !startState.getName().startsWith("VerbalRoot") &&

}
this.formationToCheck = formation;
formationToCheck = formation;
} else {

@@ -337,3 +336,3 @@ if (rootWord && root.lastIdropsDuringSuffixation() &&

}
this.formationToCheck = stem;
formationToCheck = stem;
} else {

@@ -382,3 +381,3 @@ switch (Word.lastPhoneme(stem)) {

}
this.formationToCheck = formation;
formationToCheck = formation;
}

@@ -420,16 +419,16 @@ }

case 'D':
formation = MorphotacticEngine.resolveD(root, formation, this.formationToCheck);
formation = MorphotacticEngine.resolveD(root, formation, formationToCheck);
break;
case 'A':
formation = MorphotacticEngine.resolveA(root, formation, rootWord, this.formationToCheck);
formation = MorphotacticEngine.resolveA(root, formation, rootWord, formationToCheck);
break;
case 'H':
if (this._with.charAt(0) != '\'') {
formation = MorphotacticEngine.resolveH(root, formation, i == 0, this._with.startsWith("Hyor"), rootWord, this.formationToCheck);
formation = MorphotacticEngine.resolveH(root, formation, i == 0, this._with.startsWith("Hyor"), rootWord, formationToCheck);
} else {
formation = MorphotacticEngine.resolveH(root, formation, i == 1, false, rootWord, this.formationToCheck);
formation = MorphotacticEngine.resolveH(root, formation, i == 1, false, rootWord, formationToCheck);
}
break;
case 'C':
formation = MorphotacticEngine.resolveC(formation, this.formationToCheck);
formation = MorphotacticEngine.resolveC(formation, formationToCheck);
break;

@@ -449,3 +448,3 @@ case 'S':

}
this.formationToCheck = formation;
formationToCheck = formation;
}

@@ -452,0 +451,0 @@ return formation;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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