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 @@ ...@@ -5,8 +5,8 @@
3. Go to the new directory: `cd mc-frontend` 3. Go to the new directory: `cd mc-frontend`
4. Run `npm install` 4. Run `npm install`
5. Run `sudo npm i -g ionic` 5. Run `sudo npm i -g ionic`
6. 1. Run `ionic serve --no-livereload --no-interactive` and enjoy! 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 &` 2. To run it in the background, use: `ionic serve --no-livereload --no-interactive --no-open &`
## Configuration ## Configuration
### Backend URL ### 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. 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", "name": "mcClient",
"version": "0.4.9", "version": "0.5.0",
"author": "Ionic Framework", "author": "Ionic Framework",
"homepage": "http://ionicframework.com/", "homepage": "http://ionicframework.com/",
"private": true, "private": true,
......
...@@ -125,6 +125,7 @@ ...@@ -125,6 +125,7 @@
"VOCABULARY_REFERENCE_CORPUS": "Korpus für das Referenzvokabular", "VOCABULARY_REFERENCE_CORPUS": "Korpus für das Referenzvokabular",
"VOCABULARY_REFERENCE_CORPUS_AGLDT": "Ancient Greek and Latin Dependency Treebank", "VOCABULARY_REFERENCE_CORPUS_AGLDT": "Ancient Greek and Latin Dependency Treebank",
"VOCABULARY_REFERENCE_CORPUS_BWS": "Bamberger Wortschatz", "VOCABULARY_REFERENCE_CORPUS_BWS": "Bamberger Wortschatz",
"VOCABULARY_REFERENCE_PROIEL": "PROIEL Treebank",
"VOCABULARY_REFERENCE_CORPUS_VIVA": "VIVA 1 + 2 Wortschatz", "VOCABULARY_REFERENCE_CORPUS_VIVA": "VIVA 1 + 2 Wortschatz",
"VOCABULARY_REFERENCE_RANGE": "Nur die häufigsten ... Wörter aus dem Referenzvokabular verwenden", "VOCABULARY_REFERENCE_RANGE": "Nur die häufigsten ... Wörter aus dem Referenzvokabular verwenden",
"VOCABULARY_QUERY_CORPUS": "Wo soll gesucht werden?", "VOCABULARY_QUERY_CORPUS": "Wo soll gesucht werden?",
......
...@@ -125,6 +125,7 @@ ...@@ -125,6 +125,7 @@
"VOCABULARY_REFERENCE_CORPUS": "Corpus for the reference vocabulary", "VOCABULARY_REFERENCE_CORPUS": "Corpus for the reference vocabulary",
"VOCABULARY_REFERENCE_CORPUS_AGLDT": "Ancient Greek and Latin Dependency Treebank", "VOCABULARY_REFERENCE_CORPUS_AGLDT": "Ancient Greek and Latin Dependency Treebank",
"VOCABULARY_REFERENCE_CORPUS_BWS": "Bamberg Core Vocabulary", "VOCABULARY_REFERENCE_CORPUS_BWS": "Bamberg Core Vocabulary",
"VOCABULARY_REFERENCE_PROIEL": "PROIEL Treebank",
"VOCABULARY_REFERENCE_CORPUS_VIVA": "VIVA textbook 1 + 2 Vocabulary", "VOCABULARY_REFERENCE_CORPUS_VIVA": "VIVA textbook 1 + 2 Vocabulary",
"VOCABULARY_REFERENCE_RANGE": "Take only the ... most frequent words in the reference vocabulary", "VOCABULARY_REFERENCE_RANGE": "Take only the ... most frequent words in the reference vocabulary",
"VOCABULARY_QUERY_CORPUS": "Where to perform the search", "VOCABULARY_QUERY_CORPUS": "Where to perform the search",
......
...@@ -45,12 +45,14 @@ export enum PhenomenonTranslation { ...@@ -45,12 +45,14 @@ export enum PhenomenonTranslation {
export enum VocabularyCorpus { export enum VocabularyCorpus {
agldt = <any>"agldt", agldt = <any>"agldt",
bws = <any>"bws", bws = <any>"bws",
proiel = <any>"proiel",
viva = <any>"viva", viva = <any>"viva",
} }
export enum VocabularyCorpusTranslation { export enum VocabularyCorpusTranslation {
agldt = <any>"VOCABULARY_REFERENCE_CORPUS_AGLDT", agldt = <any>"VOCABULARY_REFERENCE_CORPUS_AGLDT",
bws = <any>"VOCABULARY_REFERENCE_CORPUS_BWS", bws = <any>"VOCABULARY_REFERENCE_CORPUS_BWS",
proiel = <any>"VOCABULARY_REFERENCE_PROIEL",
viva = <any>"VOCABULARY_REFERENCE_CORPUS_VIVA", viva = <any>"VOCABULARY_REFERENCE_CORPUS_VIVA",
} }
......
...@@ -32,6 +32,11 @@ export class VocabularyProvider { ...@@ -32,6 +32,11 @@ export class VocabularyProvider {
totalCount: 1276, totalCount: 1276,
possibleSubcounts: [500, 1276] possibleSubcounts: [500, 1276]
}); });
this.refVocMap[VocabularyCorpus.proiel] = new Vocabulary({
hasFrequencyOrder: true,
totalCount: 16402,
possibleSubcounts: []
});
this.refVocMap[VocabularyCorpus.viva] = new Vocabulary({ this.refVocMap[VocabularyCorpus.viva] = new Vocabulary({
hasFrequencyOrder: false, hasFrequencyOrder: false,
totalCount: 1164, 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