Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Jun 17, 2024
1 parent 67ff735 commit b72a669
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions 3-tidy-up.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,8 @@ function handleLine(line) {

lemmaDict[word][reading][pos].senses ??= [];

const sensesWithNesting = [];
let nestedGlossObj = {};
const glossTree = {};
for (const [senseIndex, sense] of sensesWithoutInflectionGlosses.entries()) {
for (const sense of sensesWithoutInflectionGlosses) {
const { glossesArray, tags } = sense;
let temp = glossTree;
for (const [levelIndex, levelGloss] of glossesArray.entries()) {
Expand Down

0 comments on commit b72a669

Please sign in to comment.