diff --git a/src/classes.js b/src/classes.js index 480d8e7e..3f4f27e0 100644 --- a/src/classes.js +++ b/src/classes.js @@ -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, diff --git a/src/compressor.js b/src/compressor.js index e0a38dfe..ad46210c 100644 --- a/src/compressor.js +++ b/src/compressor.js @@ -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'; }