Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 2.72 KB

README.md

File metadata and controls

49 lines (35 loc) · 2.72 KB

Universal tables: Web-based tables showing stats about (S)UD usage of features and relations

This folder contains the website files, a few tables and the python code for the tables construction. The rendering of the tables is done with ag-grid JS library.

Available tables

The tables are available through the URL https://tables.grew.fr with direct links to the six collections of tables:

Web interface

  • Filtering is available on Rows (i.e. on Treebanks names) or on Columns (i.e. dependency relation, feature name or feature value).
    • filtering on rows automatically filters the non empty columns
    • filtering on columns automatically filters the non empty rows
  • Columns are sortable and can be moved
  • Counting in cells is available as:
    • Occurences → the number of times the corresponding element is present in the corpus
    • Ratio / tokens → the Occurences number divided by the number of tokens in the corpus
    • Ratio / sents → the Occurences number divided by the number of sentences in the corpus
  • Each observation is linked to the corresponding Grew-match request (with a clustering on values in the case of feature name tables).

Issues

Problems, suggestions… can be reported here.

Dev info

Computing tables

The python script build_table.py builds the JSON file. See python build_table.py --help or examples in Makefile for usage.

Local rendering of the tables

In the tables folder, run the command python -m http.server. Then open of the page http://localhost:8000 to have a local access to the different tables.

Acknowledgement

  • Thanks to Santiago for letting me know about the perfect ag-grid JS library!
  • Thanks to the users of the first version for their feedbacks and suggestions.