Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
callidus
Machina Callida
Commits
64467d43
Commit
64467d43
authored
Jun 04, 2020
by
Konstantin Schulz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed enum handling for vocabulary corpora
parent
8a57d015
Pipeline
#11862
passed with stages
in 2 minutes and 52 seconds
Changes
12
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
52 additions
and
60 deletions
+52
-60
mc_frontend/src/app/exercise-list/exercise-list.page.html
mc_frontend/src/app/exercise-list/exercise-list.page.html
+1
-2
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
+3
-2
mc_frontend/src/app/exercise-list/exercise-list.page.ts
mc_frontend/src/app/exercise-list/exercise-list.page.ts
+3
-5
mc_frontend/src/app/models/enum.ts
mc_frontend/src/app/models/enum.ts
+0
-7
mc_frontend/src/app/preview/preview.page.html
mc_frontend/src/app/preview/preview.page.html
+3
-3
mc_frontend/src/app/show-text/show-text.page.html
mc_frontend/src/app/show-text/show-text.page.html
+2
-2
mc_frontend/src/app/show-text/show-text.page.spec.ts
mc_frontend/src/app/show-text/show-text.page.spec.ts
+2
-2
mc_frontend/src/app/show-text/show-text.page.ts
mc_frontend/src/app/show-text/show-text.page.ts
+2
-3
mc_frontend/src/app/vocabulary-check/vocabulary-check.page.html
...ntend/src/app/vocabulary-check/vocabulary-check.page.html
+1
-1
mc_frontend/src/app/vocabulary-check/vocabulary-check.page.ts
...rontend/src/app/vocabulary-check/vocabulary-check.page.ts
+1
-2
mc_frontend/src/app/vocabulary.service.spec.ts
mc_frontend/src/app/vocabulary.service.spec.ts
+9
-5
mc_frontend/src/app/vocabulary.service.ts
mc_frontend/src/app/vocabulary.service.ts
+25
-26
No files found.
mc_frontend/src/app/exercise-list/exercise-list.page.html
View file @
64467d43
...
...
@@ -66,8 +66,7 @@
<select
[(ngModel)]=
"vocService.currentReferenceVocabulary"
name=
"currentReferenceVocabulary"
(change)=
"vocService.updateReferenceRange(); hasVocChanged = true"
>
<option
*ngFor=
"let key of ObjectKeys(vocService.refVocMap)"
[value]=
VocabularyCorpus[key]
>
<option
*ngFor=
"let key of ObjectKeys(vocService.refVocMap)"
[value]=
key
>
{{ VocabularyCorpusTranslation[key] | translate}}
({{vocService.refVocMap[key].totalCount}}
{{'VOCABULARY_ITEMS' | translate}})
...
...
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
View file @
64467d43
...
...
@@ -9,13 +9,14 @@ import {TranslateTestingModule} from '../translate-testing/translate-testing.mod
import
{
FormsModule
}
from
'
@angular/forms
'
;
import
{
IonicModule
}
from
'
@ionic/angular
'
;
import
{
APP_BASE_HREF
}
from
'
@angular/common
'
;
import
{
ExerciseType
,
MoodleExerciseType
,
SortingCategory
,
VocabularyCorpus
}
from
'
../models/enum
'
;
import
{
ExerciseType
,
MoodleExerciseType
,
SortingCategory
}
from
'
../models/enum
'
;
import
MockMC
from
'
../models/mockMC
'
;
import
{
ApplicationState
}
from
'
../models/applicationState
'
;
import
{
ExerciseMC
}
from
'
../models/exerciseMC
'
;
import
Spy
=
jasmine
.
Spy
;
import
configMC
from
'
../../configMC
'
;
import
{
UpdateInfo
}
from
'
../models/updateInfo
'
;
import
{
VocabularyMC
}
from
'
../../../openapi
'
;
describe
(
'
ExerciseListPage
'
,
()
=>
{
let
exerciseListPage
:
ExerciseListPage
;
...
...
@@ -73,7 +74,7 @@ describe('ExerciseListPage', () => {
exerciseListPage
.
getExerciseList
().
then
(()
=>
{
},
()
=>
{
expect
(
requestSpy
).
toHaveBeenCalledTimes
(
1
);
exerciseListPage
.
vocService
.
currentReferenceVocabulary
=
Vocabulary
Corpus
.
a
gldt
;
exerciseListPage
.
vocService
.
currentReferenceVocabulary
=
Vocabulary
MC
.
A
gldt
;
exerciseListPage
.
helperService
.
applicationState
.
next
(
new
ApplicationState
({
exerciseList
:
[]}));
requestSpy
.
and
.
returnValue
(
Promise
.
resolve
([]));
exerciseListPage
.
getExerciseList
().
then
(()
=>
{
...
...
mc_frontend/src/app/exercise-list/exercise-list.page.ts
View file @
64467d43
...
...
@@ -9,7 +9,6 @@ import {
ExerciseTypeTranslation
,
MoodleExerciseType
,
SortingCategory
,
VocabularyCorpus
,
VocabularyCorpusTranslation
}
from
'
../models/enum
'
;
import
{
TranslateService
}
from
'
@ngx-translate/core
'
;
...
...
@@ -20,7 +19,7 @@ import configMC from '../../configMC';
import
{
UpdateInfo
}
from
'
../models/updateInfo
'
;
import
{
take
}
from
'
rxjs/operators
'
;
import
{
ApplicationState
}
from
'
../models/applicationState
'
;
import
{
AnnisResponse
}
from
'
../../../openapi
'
;
import
{
AnnisResponse
,
VocabularyMC
}
from
'
../../../openapi
'
;
@
Component
({
selector
:
'
app-exercise-list
'
,
...
...
@@ -55,7 +54,6 @@ export class ExerciseListPage implements OnInit {
[
SortingCategory
.
vocDesc
]:
'
matching_degree
'
,
};
public
sortingCategoriesVocCheck
:
Set
<
SortingCategory
>
=
new
Set
([
SortingCategory
.
vocAsc
,
SortingCategory
.
vocDesc
]);
public
VocabularyCorpus
=
VocabularyCorpus
;
public
VocabularyCorpusTranslation
=
VocabularyCorpusTranslation
;
constructor
(
public
navCtrl
:
NavController
,
...
...
@@ -97,7 +95,7 @@ export class ExerciseListPage implements OnInit {
const
lastUpdateTime
:
number
=
force
?
0
:
(
state
.
exerciseList
.
length
?
updateInfo
.
exerciseList
:
0
);
params
=
params
.
set
(
'
last_update_time
'
,
lastUpdateTime
.
toString
());
if
(
this
.
vocService
.
currentReferenceVocabulary
)
{
params
=
params
.
set
(
'
vocabulary
'
,
VocabularyCorpus
[
this
.
vocService
.
currentReferenceVocabulary
]
);
params
=
params
.
set
(
'
vocabulary
'
,
this
.
vocService
.
currentReferenceVocabulary
);
params
=
params
.
set
(
'
frequency_upper_bound
'
,
this
.
vocService
.
frequencyUpperBound
.
toString
());
}
this
.
helperService
.
makeGetRequest
(
this
.
http
,
this
.
toastCtrl
,
url
,
params
).
then
((
exercises
:
ExerciseMC
[])
=>
{
...
...
@@ -175,7 +173,7 @@ export class ExerciseListPage implements OnInit {
toggleVocCorpus
():
void
{
this
.
showVocabularyCorpus
=
!
this
.
showVocabularyCorpus
;
if
(
this
.
showVocabularyCorpus
&&
!
this
.
vocService
.
currentReferenceVocabulary
)
{
this
.
vocService
.
currentReferenceVocabulary
=
Vocabulary
Corpus
.
b
ws
;
this
.
vocService
.
currentReferenceVocabulary
=
Vocabulary
MC
.
B
ws
;
this
.
hasVocChanged
=
true
;
}
const
iRowElement
:
HTMLIonRowElement
=
document
.
querySelector
(
'
#vocCorpus
'
);
...
...
mc_frontend/src/app/models/enum.ts
View file @
64467d43
...
...
@@ -185,13 +185,6 @@ export enum TestType {
list
=
'
list
'
as
any
,
}
export
enum
VocabularyCorpus
{
agldt
=
'
agldt
'
as
any
,
bws
=
'
bws
'
as
any
,
proiel
=
'
proiel
'
as
any
,
viva
=
'
viva
'
as
any
,
}
export
enum
VocabularyCorpusTranslation
{
agldt
=
'
VOCABULARY_REFERENCE_CORPUS_AGLDT
'
as
any
,
bws
=
'
VOCABULARY_REFERENCE_CORPUS_BWS
'
as
any
,
...
...
mc_frontend/src/app/preview/preview.page.html
View file @
64467d43
...
...
@@ -43,16 +43,16 @@
<!-- This is preferable compared to a button click event, because the browser knows from the
beginning that it is going to be a download (instead of an ordinary link or click). -->
<ion-col>
<a
href=
"{{urlBase +
FileType[
FileType.Docx
]
+ solutionIndicesString}}"
download
>
<a
href=
"{{urlBase + FileType.Docx + solutionIndicesString}}"
download
>
{{ 'FILE_TYPE_DOCX' | translate }}
</a>
</ion-col>
<ion-col>
<a
href=
"{{urlBase +
FileType[
FileType.Pdf
]
+ solutionIndicesString}}"
<a
href=
"{{urlBase + FileType.Pdf + solutionIndicesString}}"
download
>
{{ 'FILE_TYPE_PDF' | translate }}
</a>
</ion-col>
<!-- TODO: ADD MOODLE SUPPORT FOR MARK WORDS EXERCISES -->
<ion-col
*ngIf=
"corpusService.exercise.type !== ExerciseType.markWords"
>
<a
href=
"{{urlBase +
FileType[
FileType.Xml
]
+ solutionIndicesString}}"
download
>
{{ 'FILE_TYPE_XML' |
<a
href=
"{{urlBase + FileType.Xml + solutionIndicesString}}"
download
>
{{ 'FILE_TYPE_XML' |
translate }}
</a>
</ion-col>
<ion-col>
...
...
mc_frontend/src/app/show-text/show-text.page.html
View file @
64467d43
...
...
@@ -82,12 +82,12 @@
{{ 'TEXT_COMPLEXITY_DOCUMENTATION' | translate }}
</ion-row>
<ion-row>
<a
(click)=
"generateDownloadLink(FileType
[FileType
.Docx
]
)"
style=
"padding:0.5em;"
>
<a
(click)=
"generateDownloadLink(FileType.Docx)"
style=
"padding:0.5em;"
>
{{ 'GENERATE_FILE_DOCX' | translate }}
</a>
</ion-row>
<ion-row>
<a
(click)=
"generateDownloadLink(FileType
[FileType
.Pdf
]
)"
style=
"padding:0.5em;"
>
<a
(click)=
"generateDownloadLink(FileType.Pdf)"
style=
"padding:0.5em;"
>
{{ 'GENERATE_FILE_PDF' | translate }}
</a>
</ion-row>
...
...
mc_frontend/src/app/show-text/show-text.page.spec.ts
View file @
64467d43
...
...
@@ -8,9 +8,9 @@ import {RouterModule} from '@angular/router';
import
{
TranslateTestingModule
}
from
'
../translate-testing/translate-testing.module
'
;
import
{
FormsModule
}
from
'
@angular/forms
'
;
import
{
APP_BASE_HREF
}
from
'
@angular/common
'
;
import
{
VocabularyCorpus
}
from
'
../models/enum
'
;
import
Spy
=
jasmine
.
Spy
;
import
MockMC
from
'
../models/mockMC
'
;
import
{
VocabularyMC
}
from
'
../../../openapi
'
;
describe
(
'
ShowTextPage
'
,
()
=>
{
let
showTextPage
:
ShowTextPage
;
...
...
@@ -80,6 +80,6 @@ describe('ShowTextPage', () => {
it
(
'
should be initialized
'
,
()
=>
{
showTextPage
.
vocService
.
currentReferenceVocabulary
=
null
;
showTextPage
.
ngOnInit
();
expect
(
showTextPage
.
vocService
.
currentReferenceVocabulary
).
toBe
(
Vocabulary
Corpus
.
b
ws
);
expect
(
showTextPage
.
vocService
.
currentReferenceVocabulary
).
toBe
(
Vocabulary
MC
.
B
ws
);
});
});
mc_frontend/src/app/show-text/show-text.page.ts
View file @
64467d43
...
...
@@ -6,12 +6,11 @@ import {VocabularyService} from 'src/app/vocabulary.service';
import
{
ExerciseService
}
from
'
src/app/exercise.service
'
;
import
{
HelperService
}
from
'
src/app/helper.service
'
;
import
{
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
VocabularyCorpus
}
from
'
../models/enum
'
;
import
{
HttpClient
}
from
'
@angular/common/http
'
;
import
{
CorpusMC
}
from
'
../models/corpusMC
'
;
import
{
take
}
from
'
rxjs/operators
'
;
import
configMC
from
'
../../configMC
'
;
import
{
FileType
}
from
'
openapi
'
;
import
{
FileType
,
VocabularyMC
}
from
'
openapi
'
;
@
Component
({
selector
:
'
app-show-text
'
,
...
...
@@ -98,6 +97,6 @@ export class ShowTextPage implements OnInit {
ngOnInit
():
void
{
this
.
urlBase
=
configMC
.
backendBaseUrl
+
configMC
.
backendApiFilePath
;
this
.
vocService
.
currentReferenceVocabulary
=
this
.
vocService
.
currentReferenceVocabulary
||
Vocabulary
Corpus
.
b
ws
;
this
.
vocService
.
currentReferenceVocabulary
=
this
.
vocService
.
currentReferenceVocabulary
||
Vocabulary
MC
.
B
ws
;
}
}
mc_frontend/src/app/vocabulary-check/vocabulary-check.page.html
View file @
64467d43
...
...
@@ -45,7 +45,7 @@
<h4>
{{ 'VOCABULARY_REFERENCE_CORPUS' | translate }}
</h4>
<select
[(ngModel)]=
"vocService.currentReferenceVocabulary"
name=
"currentReferenceVocabulary"
(change)=
"vocService.updateReferenceRange()"
>
<option
*ngFor=
"let key of ObjectKeys(vocService.refVocMap)"
[value]=
VocabularyCorpus[
key
]
>
<option
*ngFor=
"let key of ObjectKeys(vocService.refVocMap)"
[value]=
key
>
{{ VocabularyCorpusTranslation[key] | translate}} ({{vocService.refVocMap[key].totalCount}}
{{'VOCABULARY_ITEMS' | translate}})
</option>
...
...
mc_frontend/src/app/vocabulary-check/vocabulary-check.page.ts
View file @
64467d43
import
{
NavController
,
ToastController
}
from
'
@ionic/angular
'
;
import
{
Component
}
from
'
@angular/core
'
;
import
{
VocabularyCorpus
,
VocabularyCorpusTranslation
}
from
'
src/app/models/enum
'
;
import
{
VocabularyCorpusTranslation
}
from
'
src/app/models/enum
'
;
import
{
VocabularyService
}
from
'
src/app/vocabulary.service
'
;
import
{
HttpClient
,
HttpErrorResponse
}
from
'
@angular/common/http
'
;
import
{
TranslateService
}
from
'
@ngx-translate/core
'
;
...
...
@@ -19,7 +19,6 @@ import {Sentence} from '../../../openapi';
})
export
class
VocabularyCheckPage
{
ObjectKeys
=
Object
.
keys
;
VocabularyCorpus
=
VocabularyCorpus
;
VocabularyCorpusTranslation
=
VocabularyCorpusTranslation
;
public
adaptPassages
=
true
;
public
currentRankingUnits
:
Sentence
[][];
...
...
mc_frontend/src/app/vocabulary.service.spec.ts
View file @
64467d43
...
...
@@ -4,9 +4,8 @@ import {VocabularyService} from './vocabulary.service';
import
{
HttpClientTestingModule
}
from
'
@angular/common/http/testing
'
;
import
{
IonicStorageModule
}
from
'
@ionic/storage
'
;
import
{
TranslateTestingModule
}
from
'
./translate-testing/translate-testing.module
'
;
import
{
VocabularyCorpus
}
from
'
./models/enum
'
;
import
{
HttpErrorResponse
}
from
'
@angular/common/http
'
;
import
{
AnnisResponse
,
Sentence
}
from
'
../../openapi
'
;
import
{
HttpErrorResponse
,
HttpParams
}
from
'
@angular/common/http
'
;
import
{
AnnisResponse
,
Sentence
,
VocabularyForm
,
VocabularyMC
}
from
'
../../openapi
'
;
import
Spy
=
jasmine
.
Spy
;
describe
(
'
VocabularyService
'
,
()
=>
{
...
...
@@ -38,6 +37,11 @@ describe('VocabularyService', () => {
getSpy
.
and
.
returnValue
(
Promise
.
resolve
([]));
const
sentences
:
Sentence
[]
=
await
vocabularyService
.
getMatchingSentences
(
''
);
expect
(
sentences
.
length
).
toBe
(
0
);
const
params
:
HttpParams
=
getSpy
.
calls
.
argsFor
(
0
)[
3
];
const
vfObj
:
object
=
{};
params
.
keys
().
forEach
((
key
:
string
)
=>
vfObj
[
key
]
=
params
.
get
(
key
));
const
vf
:
VocabularyForm
=
vfObj
as
VocabularyForm
;
expect
(
vf
.
vocabulary
).
toBe
(
VocabularyMC
.
Bws
);
const
postSpy
:
Spy
=
spyOn
(
vocabularyService
.
helperService
,
'
makePostRequest
'
).
and
.
returnValue
(
Promise
.
resolve
({}));
const
result
:
AnnisResponse
=
await
vocabularyService
.
getOOVwords
(
''
);
expect
(
result
.
graph_data
).
toBeFalsy
();
...
...
@@ -60,10 +64,10 @@ describe('VocabularyService', () => {
it
(
'
should update the reference range
'
,
()
=>
{
vocabularyService
.
frequencyUpperBound
=
0
;
vocabularyService
.
ngOnInit
();
vocabularyService
.
currentReferenceVocabulary
=
Vocabulary
Corpus
.
a
gldt
;
vocabularyService
.
currentReferenceVocabulary
=
Vocabulary
MC
.
A
gldt
;
vocabularyService
.
updateReferenceRange
();
expect
(
vocabularyService
.
frequencyUpperBound
).
toBe
(
500
);
vocabularyService
.
currentReferenceVocabulary
=
Vocabulary
Corpus
.
v
iva
;
vocabularyService
.
currentReferenceVocabulary
=
Vocabulary
MC
.
V
iva
;
vocabularyService
.
updateReferenceRange
();
expect
(
vocabularyService
.
frequencyUpperBound
).
toBe
(
1164
);
});
...
...
mc_frontend/src/app/vocabulary.service.ts
View file @
64467d43
/* tslint:disable:no-string-literal */
import
{
HttpClient
,
HttpErrorResponse
,
HttpParams
}
from
'
@angular/common/http
'
;
import
{
Injectable
,
OnInit
}
from
'
@angular/core
'
;
import
{
VocabularyCorpus
}
from
'
src/app/models/enum
'
;
import
{
Vocabulary
}
from
'
src/app/models/vocabulary
'
;
import
{
HelperService
}
from
'
src/app/helper.service
'
;
import
{
TestResultMC
}
from
'
src/app/models/testResultMC
'
;
...
...
@@ -14,7 +13,7 @@ import {VocabularyMC} from '../../openapi';
providedIn
:
'
root
'
})
export
class
VocabularyService
implements
OnInit
{
currentReferenceVocabulary
:
VocabularyC
orpus
=
Vocabulary
Corpus
.
b
ws
;
currentReferenceVocabulary
:
Vocabulary
M
C
=
Vocabulary
MC
.
B
ws
;
currentSentences
:
Sentence
[]
=
[];
currentTestResults
:
{
[
exerciseIndex
:
number
]:
TestResultMC
}
=
{};
desiredSentenceCount
=
10
;
...
...
@@ -32,69 +31,69 @@ export class VocabularyService implements OnInit {
return
this
.
refVocMap
[
this
.
currentReferenceVocabulary
];
}
get
OOVword
s
(
queryUrn
:
string
):
Promise
<
AnnisResponse
>
{
return
new
Promise
((
(
resolve
,
reject
)
=>
{
get
MatchingSentence
s
(
queryUrn
:
string
):
Promise
<
Sentence
[]
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
url
:
string
=
configMC
.
backendBaseUrl
+
configMC
.
backendApiVocabularyPath
;
const
vf
:
VocabularyForm
=
{
frequency_upper_bound
:
this
.
frequencyUpperBound
,
query_urn
:
queryUrn
,
vocabulary
:
VocabularyMC
[
this
.
currentReferenceVocabulary
]
vocabulary
:
this
.
currentReferenceVocabulary
};
const
formData
:
FormData
=
new
FormData
();
Object
.
keys
(
vf
).
forEach
((
key
:
string
)
=>
formData
.
append
(
key
,
vf
[
key
]));
this
.
helperService
.
makePostRequest
(
this
.
http
,
this
.
toastCtrl
,
url
,
formData
).
then
((
result
:
AnnisResponse
)
=>
{
let
params
:
HttpParams
=
new
HttpParams
();
Object
.
keys
(
vf
).
forEach
((
key
:
string
)
=>
{
params
=
params
.
set
(
key
,
vf
[
key
]);
});
this
.
helperService
.
makeGetRequest
(
this
.
http
,
this
.
toastCtrl
,
url
,
params
).
then
((
result
:
Sentence
[])
=>
{
return
resolve
(
result
);
},
(
error
:
HttpErrorResponse
)
=>
{
return
reject
(
error
);
});
})
)
;
});
}
getMean
(
sentences
:
Sentence
[]):
number
{
return
sentences
.
map
(
x
=>
x
.
matching_degree
).
reduce
((
a
,
b
)
=>
a
+
b
)
/
sentences
.
length
;
}
getPossibleSubCount
():
number
{
return
this
.
getCurrentReferenceVocabulary
().
possibleSubcounts
[
0
];
}
getMatchingSentences
(
queryUrn
:
string
):
Promise
<
Sentence
[]
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
getOOVwords
(
queryUrn
:
string
):
Promise
<
AnnisResponse
>
{
return
new
Promise
(((
resolve
,
reject
)
=>
{
const
url
:
string
=
configMC
.
backendBaseUrl
+
configMC
.
backendApiVocabularyPath
;
const
vf
:
VocabularyForm
=
{
frequency_upper_bound
:
this
.
frequencyUpperBound
,
query_urn
:
queryUrn
,
vocabulary
:
VocabularyMC
[
this
.
currentReferenceVocabulary
]
vocabulary
:
this
.
currentReferenceVocabulary
};
let
params
:
HttpParams
=
new
HttpParams
();
Object
.
keys
(
vf
).
forEach
((
key
:
string
)
=>
{
params
=
params
.
set
(
key
,
vf
[
key
]);
});
this
.
helperService
.
makeGetRequest
(
this
.
http
,
this
.
toastCtrl
,
url
,
params
).
then
((
result
:
Sentence
[])
=>
{
const
formData
:
FormData
=
new
FormData
();
Object
.
keys
(
vf
).
forEach
((
key
:
string
)
=>
formData
.
append
(
key
,
vf
[
key
]));
this
.
helperService
.
makePostRequest
(
this
.
http
,
this
.
toastCtrl
,
url
,
formData
).
then
((
result
:
AnnisResponse
)
=>
{
return
resolve
(
result
);
},
(
error
:
HttpErrorResponse
)
=>
{
return
reject
(
error
);
});
});
}));
}
getPossibleSubCount
():
number
{
return
this
.
getCurrentReferenceVocabulary
().
possibleSubcounts
[
0
];
}
ngOnInit
():
void
{
this
.
refVocMap
[
Vocabulary
Corpus
.
a
gldt
]
=
new
Vocabulary
({
this
.
refVocMap
[
Vocabulary
MC
.
A
gldt
]
=
new
Vocabulary
({
hasFrequencyOrder
:
true
,
totalCount
:
7182
,
possibleSubcounts
:
[]
});
this
.
refVocMap
[
Vocabulary
Corpus
.
b
ws
]
=
new
Vocabulary
({
this
.
refVocMap
[
Vocabulary
MC
.
B
ws
]
=
new
Vocabulary
({
hasFrequencyOrder
:
false
,
totalCount
:
1276
,
possibleSubcounts
:
[
500
,
1276
]
});
this
.
refVocMap
[
Vocabulary
Corpus
.
p
roiel
]
=
new
Vocabulary
({
this
.
refVocMap
[
Vocabulary
MC
.
P
roiel
]
=
new
Vocabulary
({
hasFrequencyOrder
:
true
,
totalCount
:
16402
,
possibleSubcounts
:
[]
});
this
.
refVocMap
[
Vocabulary
Corpus
.
v
iva
]
=
new
Vocabulary
({
this
.
refVocMap
[
Vocabulary
MC
.
V
iva
]
=
new
Vocabulary
({
hasFrequencyOrder
:
false
,
totalCount
:
1164
,
possibleSubcounts
:
[
1164
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment