Skip to content

Commit

Permalink
parser uses config, undoredo set up
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammed-abuodeh committed May 24, 2024
1 parent 6192824 commit c36099c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions parsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,17 @@ function getParsedData(parse_data_id) {
fetch(`https://mra9407.pythonanywhere.com/get_parsed_data?data_id=${parse_data_id}`, requestOptions)
.then(response => response.text())
.then(data => {
readConfigFile();
// readConfigFileForParsedSentences();
treesArray = convertToJSON(data);

currentTreeIndex = 0;
UndoRedoHelperOnTreePageSetUp();

view([$(".upload")], hideComponents);
addFilenameToHtmlElements('Untitled.conllx');
getTree(treesArray[0]);

})
.catch(error => console.log('error', error));

Expand Down

0 comments on commit c36099c

Please sign in to comment.