#151 [bug] Spanish generator broken
This commit is contained in:
parent
b845ac3cd3
commit
1b45280e8f
|
@ -451,8 +451,8 @@ export class Pronoun {
|
|||
data[data.length - 1],
|
||||
false,
|
||||
m,
|
||||
data[MORPHEMES.length].split('').map(p => parseInt(p) === 1),
|
||||
data[MORPHEMES.length + 1].split('').map(p => parseInt(p) === 1),
|
||||
config.pronouns.plurals ? data[MORPHEMES.length].split('').map(p => parseInt(p) === 1) : [false],
|
||||
config.pronouns.honorifics ? data[MORPHEMES.length + 1].split('').map(p => parseInt(p) === 1) : [false],
|
||||
[],
|
||||
null,
|
||||
false,
|
||||
|
|
|
@ -5,8 +5,6 @@ export default class Compressor {
|
|||
const baseFirst = base[0];
|
||||
const baseRest = base.slice(1);
|
||||
|
||||
console.log(data, base);
|
||||
|
||||
if (dataFirst !== baseFirst || dataRest.length !== baseRest.length) {
|
||||
throw 'Cannot compress data, format does not match the base';
|
||||
}
|
||||
|
|
Reference in New Issue