https://github.com/luileito/swipetest
Shape-writing project
https://github.com/luileito/swipetest
Last synced: 4 months ago
JSON representation
Shape-writing project
- Host: GitHub
- URL: https://github.com/luileito/swipetest
- Owner: luileito
- Created: 2020-03-26T05:23:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T20:35:01.000Z (about 4 years ago)
- Last Synced: 2025-10-24T20:02:59.468Z (8 months ago)
- Language: PHP
- Size: 799 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - luileito/swipetest - Shape-writing project (PHP)
README
# Shape-writing test
This is the source code of the typing test application of our MobileHCI'21 paper:
- L. A. Leiva, S. Kim, W. Cui, X. Bi, A. Oulasvirta.
**How We Swipe: A Large-scale Shape-writing Dataset and Empirical Findings.**
*Proc. MobileHCI, 2021.*
Our online test prompts each user with 16 short sentences.
The first sentence is a warm-up sentence which is not logged.
The user has to enter each sentence by swiping on a custom virtual keyboard that logs low-level information about gesture typing,
such as the gesture path drawn on top of the keyboard or the time lapsed between consecutively swiped keys.
## Install
Windows OS is not supported.
A Unix-like OS is expected with GNU awk installed. In Debian-based Linux distributions you can run `sudo apt install gawk`.
You need PHP >= 5 and a web server (we highly recommend nginx).
You can test the application with the built-in php server, but it should NOT be used in production:
```sh
~$ php -S localhost:8088
```
## Translate
To translate the user interface, GNU gettext is required. In Debian-based Linux distributions you can run `sudo apt install gettext`.
You can run `translate.sh` to handle the whole translation process in one command.
Example: To translate the app to Spanish, run `bash translate.sh es_ES`, then edit the generated `locale/es_ES/messages.po` file with your Spanish translations and finally run `bash translate.sh es_ES` again to update the app. You must restart/reload your web server afterwards.
## Citation
```bib
@InProceedigs{swipe_dataset,
author = {Luis A. Leiva and Sunjun Kim Wenzhe Cui and Xiaojun Bi and Antti Oulasvirta},
title = {How We Swipe: A Large-scale Shape-writing Dataset and Empirical Findings},
booktitle = {Proc. MobileHCI},
year = {2021},
}
```