A webapp to help mandarin learners to read chinese
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
env
lib
models
resources/public
src
.gitignore
LICENSE
Procfile
README.md
ce.txt
cedict_ts.u8
download-fnlp.sh
project.clj
system.properties
text-library.u8

README.md

kinese

kinese is a webapp to help mandarin learners to read chinese. The backend is written in clojure+ring, the frontend in clojurescript+reagent.

Try it out online at kinese.gstelluto.com!

Features

  • Character tone coloring
  • Word segmentation
  • Word dictionary lookup

Todo

  • Character dictionary lookup
  • Manual segmentation
  • More languages
  • Word difficulty filters

Build

To build, you'll need leiningen.

  • In the project directory, run $ lein install
  • Run $ lein run
  • In a separate terminal (also in the project root), run $ lein figwheel
  • Visit at localhost:3000

FNLP dependency

The project depends on the FudanNLP library to segment text.

At the time of writing, the project's POM on maven central is broken, and it can not be added to leiningen's managed dependencies. Additionally, the three needed model files have to be downloaded from the project's Github repo.

The download of the dependency is implemented in download-fnlp.sh, which is automatically called by leiningen on the first build.