add saveVocab to criteria for content and canBeHeard words
This commit is contained in:
parent
c33bf6bc59
commit
9851154b74
1 changed files with 6 additions and 3 deletions
|
|
@ -138,9 +138,11 @@ class PangeaToken {
|
|||
int get end => text.offset + text.length;
|
||||
|
||||
bool get isContentWord =>
|
||||
["NOUN", "VERB", "ADJ", "ADV", "AUX", "PRON"].contains(pos);
|
||||
["NOUN", "VERB", "ADJ", "ADV", "AUX", "PRON"].contains(pos) &&
|
||||
lemma.saveVocab;
|
||||
|
||||
bool get canBeHeard => [
|
||||
bool get canBeHeard =>
|
||||
[
|
||||
"ADJ",
|
||||
"ADV",
|
||||
"AUX",
|
||||
|
|
@ -152,7 +154,8 @@ class PangeaToken {
|
|||
"PROPN",
|
||||
"SCONJ",
|
||||
"VERB",
|
||||
].contains(pos);
|
||||
].contains(pos) &&
|
||||
lemma.saveVocab;
|
||||
|
||||
/// Given a [type] and [metadata], returns a [OneConstructUse] for this lemma
|
||||
OneConstructUse toVocabUse(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue