web-crfsuite

A port of crfsuite for Node, Browser & Deno. [View on GitHub]

{
  "xseq": [
    [
      "walk"
    ],
    [
      "walk",
      "shop"
    ],
    [
      "clean",
      "shop"
    ]
  ],
  "yseq": [
    "sunny",
    "sunny",
    "rainy"
  ],
  "trainer": {
    "feature.minfreq": "0.000000",
    "feature.possible_states": "0",
    "feature.possible_transitions": "0",
    "c1": "0.000000",
    "c2": "1.000000",
    "max_iterations": "2147483647",
    "num_memories": "6",
    "epsilon": "0.000010",
    "period": "10",
    "delta": "0.000010",
    "linesearch": "MoreThuente",
    "max_linesearch": "20"
  },
  "tagger": {
    "labels": [
      "sunny",
      "rainy"
    ],
    "prediction": [
      "sunny",
      "sunny",
      "rainy"
    ]
  }
}

This example runs entirely on the web browser.

---

A project by @seanghay