@mineproness/tensorloop 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mineproness/tensorloop",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "The most powerfull Machine Learning Library for AI.",
5
5
  "keywords": [
6
6
  "ai",
@@ -33,7 +33,9 @@ export class Tokenizer {
33
33
  return true
34
34
  }
35
35
  return false
36
- }).reduce((prev, curr) => prev && curr)
36
+
37
+ }).reduce((prev, curr) => prev && curr, true)
38
+ if(wordsliced.length == 0) console.error("Some Word Doesn't Exist in Vocabs List. so It can be undefined!")
37
39
  if (matched) {
38
40
  wordsliced.map((e) => output.push(e))
39
41
  output.push("$130")