Grammalecte  Diff

Differences From Artifact [56edbc7aa3]:

To Artifact [f36dfe75af]:


10
11
12
13
14
15
16
17
18
19
20




21
22
23
24
25
26
27
10
11
12
13
14
15
16




17
18
19
20
21
22
23
24
25
26
27







-
-
-
-
+
+
+
+








/* jshint esversion:6, -W097 */
/* jslint esversion:6 */
/* global require, exports, console, helpers */

"use strict";

if(typeof process !== 'undefined') {
    var str_transform = require('./str_transform.js');
} else if (typeof require !== 'undefined') {
    var str_transform = require('resource://grammalecte/graphspell/str_transform.js');
if(typeof(process) !== 'undefined') {
    var str_transform = require("./str_transform.js");
} else if (typeof(require) !== 'undefined') {
    var str_transform = require("resource://grammalecte/graphspell/str_transform.js");
}

${map}


class DAWG {
    /*  DIRECT ACYCLIC WORD GRAPH