Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ritec03 committed Sep 29, 2021
1 parent 5bf68ce commit 13412b6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
Binary file added .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__pycache__
*.pyc
backend_coling/jobs/
backend_coling/model_inputs/
backend_coling/results/
# backend_coling/jobs/
# backend_coling/model_inputs/
# backend_coling/results/
Binary file added backend_coling/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion backend_server/templates/react-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<header>
<h1>Glossing UI</h1>
<h1>Glossing UI - NEW AND IMPROVED</h1>
<p>Silfverberg Lab</p>

</header>
Expand Down
10 changes: 5 additions & 5 deletions backend_server/xml_parsing/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,16 +386,16 @@ def writeEafTier(eaf_file, data):


# code below for debugging purposes
with open('berrypicking_Annotations.eaf', 'r') as file:
xml_document = file.read()
# with open('berrypicking_Annotations.eaf', 'r') as file:
# xml_document = file.read()

with open('data.json', 'r') as outfile:
data = json.load(outfile)
# with open('data.json', 'r') as outfile:
# data = json.load(outfile)

# # getInputText('Transcription', xml_document)
# # TODO you cannot use the same xml_document second time?
# # parseTierWithTime('Transcription', xml_document)
writeEafTier(xml_document,data)
# writeEafTier(xml_document,data)

# getInputText('Transcription', xml_document)

Expand Down
8 changes: 6 additions & 2 deletions backend_server/xml_parsing/results.pfsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
<String>AAM-LR Phone level audio segmentation</String>
</pref>
<pref key="FrameLocation">
<Object class="java.awt.Point">910,270</Object>
<Object class="java.awt.Point">830,128</Object>
</pref>
<pref key="TimeLineViewer.ZoomLevel">
<Float>162.99998</Float>
</pref>
<pref key="SelectionBeginTime">
<Long>0</Long>
Expand All @@ -87,7 +90,7 @@
<Long>0</Long>
</pref>
<pref key="MediaTime">
<Long>0</Long>
<Long>3791</Long>
</pref>
<prefGroup key="TierColors">
<pref key="Transcription">
Expand All @@ -103,6 +106,7 @@
<String>AudioTranscription</String>
<String>Glossing_UI_Input_Tier</String>
<String>Glossing_UI_Pref_Segmentation_Tier</String>
<String>Glossing_UI_n_Best_Segmentations_Tier</String>
</prefList>
<pref key="LayoutManager.SplitPaneDividerLocation">
<Int>2</Int>
Expand Down

0 comments on commit 13412b6

Please sign in to comment.