nlptoolkit-dictionary
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -15,3 +15,3 @@ import { Word } from "./Word"; | ||
/** | ||
* The addFlag method takes a String flag as an input and adds given flag to the flags {@link ArrayList}. | ||
* The addFlag method takes a String flag as an input and adds given flag to the flags {@link Array}. | ||
* | ||
@@ -22,3 +22,3 @@ * @param flag String input to add. | ||
/** | ||
* The removeFlag method takes a String flag as an input and removes given flag from the flags {@link ArrayList}. | ||
* The removeFlag method takes a String flag as an input and removes given flag from the flags {@link Array}. | ||
* | ||
@@ -89,2 +89,14 @@ * @param flag String input to remove. | ||
/** | ||
* The isDuplicate method returns true if flags {@link Array} contains IS_CODE. | ||
* | ||
* @return true if flags {@link Array} contains IS_CODE. | ||
*/ | ||
isCode(): boolean; | ||
/** | ||
* The isDuplicate method returns true if flags {@link Array} contains IS_METRIC. | ||
* | ||
* @return true if flags {@link Array} contains IS_METRIC. | ||
*/ | ||
isMetric(): boolean; | ||
/** | ||
* The isHeader method returns true if flags {@link Array} contains IS_HEADER. | ||
@@ -91,0 +103,0 @@ * |
@@ -37,3 +37,3 @@ (function (factory) { | ||
/** | ||
* The addFlag method takes a String flag as an input and adds given flag to the flags {@link ArrayList}. | ||
* The addFlag method takes a String flag as an input and adds given flag to the flags {@link Array}. | ||
* | ||
@@ -46,3 +46,3 @@ * @param flag String input to add. | ||
/** | ||
* The removeFlag method takes a String flag as an input and removes given flag from the flags {@link ArrayList}. | ||
* The removeFlag method takes a String flag as an input and removes given flag from the flags {@link Array}. | ||
* | ||
@@ -314,2 +314,18 @@ * @param flag String input to remove. | ||
/** | ||
* The isDuplicate method returns true if flags {@link Array} contains IS_CODE. | ||
* | ||
* @return true if flags {@link Array} contains IS_CODE. | ||
*/ | ||
isCode() { | ||
return this.flags.includes("IS_CODE"); | ||
} | ||
/** | ||
* The isDuplicate method returns true if flags {@link Array} contains IS_METRIC. | ||
* | ||
* @return true if flags {@link Array} contains IS_METRIC. | ||
*/ | ||
isMetric() { | ||
return this.flags.includes("IS_METRIC"); | ||
} | ||
/** | ||
* The isHeader method returns true if flags {@link Array} contains IS_HEADER. | ||
@@ -316,0 +332,0 @@ * |
{ | ||
"name": "nlptoolkit-dictionary", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Turkish Dictionary", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,3 +31,3 @@ import {Word} from "./Word"; | ||
/** | ||
* The addFlag method takes a String flag as an input and adds given flag to the flags {@link ArrayList}. | ||
* The addFlag method takes a String flag as an input and adds given flag to the flags {@link Array}. | ||
* | ||
@@ -41,3 +41,3 @@ * @param flag String input to add. | ||
/** | ||
* The removeFlag method takes a String flag as an input and removes given flag from the flags {@link ArrayList}. | ||
* The removeFlag method takes a String flag as an input and removes given flag from the flags {@link Array}. | ||
* | ||
@@ -319,2 +319,20 @@ * @param flag String input to remove. | ||
/** | ||
* The isDuplicate method returns true if flags {@link Array} contains IS_CODE. | ||
* | ||
* @return true if flags {@link Array} contains IS_CODE. | ||
*/ | ||
isCode(): boolean{ | ||
return this.flags.includes("IS_CODE"); | ||
} | ||
/** | ||
* The isDuplicate method returns true if flags {@link Array} contains IS_METRIC. | ||
* | ||
* @return true if flags {@link Array} contains IS_METRIC. | ||
*/ | ||
isMetric(): boolean{ | ||
return this.flags.includes("IS_METRIC"); | ||
} | ||
/** | ||
* The isHeader method returns true if flags {@link Array} contains IS_HEADER. | ||
@@ -321,0 +339,0 @@ * |
Sorry, the diff of this file is not supported yet
5923060
6329