Download Latest Version content (283 Bytes)
Email in envelope

Get an email when there's a new version of grammarscope-udpipe

Home / tools
Name Modified Size InfoDownloads / Week
Parent folder
make-flags.sh 2021-03-04 482 Bytes
make-uploads.sh 2021-03-04 436 Bytes
pack_models.sh 2021-03-04 1.6 kB
toc.sh 2021-03-04 359 Bytes
Totals: 4 Items   2.8 kB 0

GrammarScope

GrammarScope UDPipe

What it does

Parses sentences and analyses their syntactic structures (in the form of labelled dependencies). Based on UDPipe machine learning framework.

Screencast

Key words

Keys: UDPipe, dependency parser, ML, Machine learning, NLU, natural language understanding, AI, neural network, Universal dependencies.

How to load you own models

A script is provided here that packs the data from UDPipe-provided models

Dir layout

  • models_src
    • chinese-gsd-ud-2.3-181115.udpipe
    • czech-cac-ud-2.3-181115.udpipe
    • czech-pdt-ud-2.3-181115.udpipe
    • english-ewt-ud-2.3-181115.udpipe
    • english-gum-ud-2.3-181115.udpipe
    • ...
  • sentences (samples, one sentence per line)
    • Chinese
    • Czech
    • English
    • French
    • ...
  • flags (24 x 16 png images for language)
    • Chinese.png
    • Czech.png
    • English.png
    • French.png
    • ...
  • models (created)
    • chinese-gsd (created, the unzipped content)
    • czech-cac
    • czech-pdt
    • english-ewt
    • ...
  • upload (created)
    • content (created as a TOC of downloadable files)
    • Chinese-gsd.zip (created, packed model)
    • Chinese-gsd.zip.md5 (created, checksum of previous)
    • Czech-cac.zip
    • Czech-cac.zip.md5
    • Czech-pdt.zip
    • Czech-pdt.zip.md5
    • English-ewt.zip
    • English-ewt.zip.md5
    • ...
  • pack-models.sh

Zipped pack

The packed model file should contain:

  • model.udpipe (actual model)
  • samples (sample sentences)
  • model (meta data)
  • Urdu (language, name varies)
  • Urdu-udtb (language model, name varies)
  • md5sum.txt (md5 check sum of files)
  • flag.png

How to download

Run local webserver in the download directory that contains the packages and the content file:

python3 -m http.server 1313

In the app, change Settings | Download | Model source to http://somehost:1313 where somehost is the name of the host that stores the packages.

In the app menu, choose Model | Download

The list of available files should appear in a dialog box. Choose one. Proceed to download.

When downloading completes successfully, press Deploy.

Source: README.md, updated 2021-03-04