Commit c12ffd4b authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

introducing vocabulary checks for the PROIEL treebank

parent 54fff84d
......@@ -5,8 +5,8 @@
3. Go to the new directory: `cd mc-frontend`
4. Run `npm install`
5. Run `sudo npm i -g ionic`
6. 1. Run `ionic serve --no-livereload --no-interactive` and enjoy!
2. To run it in the background, use: `ionic serve --no-livereload --no-interactive &`
6. 1. Run `ionic serve --no-livereload --no-interactive --no-open` and enjoy!
2. To run it in the background, use: `ionic serve --no-livereload --no-interactive --no-open &`
## Configuration
### Backend URL
To change the URL for the backend, use the `ionic.config.json` file (proxies > proxyUrl). By default, the system assumes that backend and frontend are installed on the same machine.
......
{
"name": "mcClient",
"version": "0.4.9",
"version": "0.5.0",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
......
......@@ -125,6 +125,7 @@
"VOCABULARY_REFERENCE_CORPUS": "Korpus für das Referenzvokabular",
"VOCABULARY_REFERENCE_CORPUS_AGLDT": "Ancient Greek and Latin Dependency Treebank",
"VOCABULARY_REFERENCE_CORPUS_BWS": "Bamberger Wortschatz",
"VOCABULARY_REFERENCE_PROIEL": "PROIEL Treebank",
"VOCABULARY_REFERENCE_CORPUS_VIVA": "VIVA 1 + 2 Wortschatz",
"VOCABULARY_REFERENCE_RANGE": "Nur die häufigsten ... Wörter aus dem Referenzvokabular verwenden",
"VOCABULARY_QUERY_CORPUS": "Wo soll gesucht werden?",
......
......@@ -125,6 +125,7 @@
"VOCABULARY_REFERENCE_CORPUS": "Corpus for the reference vocabulary",
"VOCABULARY_REFERENCE_CORPUS_AGLDT": "Ancient Greek and Latin Dependency Treebank",
"VOCABULARY_REFERENCE_CORPUS_BWS": "Bamberg Core Vocabulary",
"VOCABULARY_REFERENCE_PROIEL": "PROIEL Treebank",
"VOCABULARY_REFERENCE_CORPUS_VIVA": "VIVA textbook 1 + 2 Vocabulary",
"VOCABULARY_REFERENCE_RANGE": "Take only the ... most frequent words in the reference vocabulary",
"VOCABULARY_QUERY_CORPUS": "Where to perform the search",
......
......@@ -45,12 +45,14 @@ export enum PhenomenonTranslation {
export enum VocabularyCorpus {
agldt = <any>"agldt",
bws = <any>"bws",
proiel = <any>"proiel",
viva = <any>"viva",
}
export enum VocabularyCorpusTranslation {
agldt = <any>"VOCABULARY_REFERENCE_CORPUS_AGLDT",
bws = <any>"VOCABULARY_REFERENCE_CORPUS_BWS",
proiel = <any>"VOCABULARY_REFERENCE_PROIEL",
viva = <any>"VOCABULARY_REFERENCE_CORPUS_VIVA",
}
......
......@@ -32,6 +32,11 @@ export class VocabularyProvider {
totalCount: 1276,
possibleSubcounts: [500, 1276]
});
this.refVocMap[VocabularyCorpus.proiel] = new Vocabulary({
hasFrequencyOrder: true,
totalCount: 16402,
possibleSubcounts: []
});
this.refVocMap[VocabularyCorpus.viva] = new Vocabulary({
hasFrequencyOrder: false,
totalCount: 1164,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment