Skip to content

anon-ml/anonml-gui

Repository files navigation

Press 'a'

To accept the current annotation and go on with the next one.

Press 'd'

To decline the current annotation and go on with the next one.

Press 'w'

Jump into the edit area and edit the Label by hitting the down-key or edit the replacement by hitting tab and type. It can be saved by pressing the Enter-button.

Press 's'

When finished it is possible to save the file by pressing s.

Marking words using the mouse

It is possible to mark words to add missing annotations. When a word (or more words) are selected, the focus jumps into the edit-area. By pressing the Enter-button after finishing the new annotation it is saved.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.