项目作者: Torvaney

项目描述 :
Test a human, character-level language model on a given corpus
高级语言: Elm
项目地址: git://github.com/Torvaney/human-language-model.git
创建时间: 2019-02-16T12:13:21Z
项目社区:https://github.com/Torvaney/human-language-model

开源协议:

下载


Human Language Model

Test your language model!

Try it out

What is it?

Test the accuracy of your “language model” on a given corpus (sort of).

What is a “language model”?

A statistical language model is a probability distribution over sequences of words. Given such a sequence, say of length m, it assigns a probability to the whole sequence.

(from Wikipedia)

How does it work

The programme takes a plain text file, and splits it into non-overlapping chunks.
You then have to guess which character came next, after the chunk shown. Chunks are
show in random order.

How to build

The app is written in Elm, and can be compiled to Html (and javascript) like so:

  1. elm make src/elm/Main.elm
  2. open index.html