words -> word_ids & sequences -> sequence_ids

This commit is contained in:
Anthony MOI
2020-11-09 15:14:14 -05:00
committed by Anthony MOI
parent 57d162b269
commit d3d9f2c76b
11 changed files with 70 additions and 44 deletions

View File

@ -149,7 +149,7 @@ export class Encoding {
return this._wordIndexes;
}
return (this._wordIndexes = this._rawEncoding.getWords());
return (this._wordIndexes = this._rawEncoding.getWordIds());
}
get sequenceIndexes(): (number | undefined)[] {
@ -157,7 +157,7 @@ export class Encoding {
return this._sequenceIndexes;
}
return (this._sequenceIndexes = this._rawEncoding.getSequences());
return (this._sequenceIndexes = this._rawEncoding.getSequenceIds());
}
/**