Anchor-annotator 0.3.2__py3-none-any.whl → 0.3.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Anchor_annotator
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Anchor annotator is a program for inspecting corpora for the Montreal Forced Aligner and correcting transcriptions and pronunciations.
5
5
  Home-page: https://github.com/MontrealCorpusTools/Anchor-annotator
6
6
  Author: Montreal Corpus Tools
@@ -1,9 +1,9 @@
1
1
  anchor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  anchor/__main__.py,sha256=5ufG8lcx2x1am-04xI991AG7saJd24dxPw5JzjmB878,45
3
- anchor/_version.py,sha256=9jP8Fo8egXoMs_T3DFqSuJYg4n9o9mnwYubl_hnut4k,411
3
+ anchor/_version.py,sha256=FKnJIExgNrZG2xJ0y_dGNBpxGbGBYylvfat-jHhLUuM,411
4
4
  anchor/command_line.py,sha256=EucG805HyWk_zkMO9RXv9Yj0I0JVdDLZb1_DX2_ISjM,503
5
5
  anchor/db.py,sha256=ef4lO6HtCKoxC9CorIc0ZbPxKpjHa576a0ZIBOWNU9E,4956
6
- anchor/main.py,sha256=eazWSZC94_nyBx_6rJ85hxC9wkCJYVP5FN_t9vnRm44,120658
6
+ anchor/main.py,sha256=wX6LLudTX5-HOxqBB-BGLXTdYJuDGQbV11gA2XBvQ8w,120605
7
7
  anchor/models.py,sha256=sCZf5wF6g1KorMgb0AifmqhaxZp5fiYmlmaJoow-tFI,95230
8
8
  anchor/plot.py,sha256=eNVG9sDdRA9_KKrHKSb2TF66bIluJsJzVnTGN3q-Brk,104878
9
9
  anchor/resources_rc.py,sha256=94wgxDTpP4Oy55Br7CZ_YnmvaqzHr4n-AydBPhZc-es,8427242
@@ -15,8 +15,8 @@ anchor/ui_preferences.py,sha256=MOC2dY4qkViW9cUbC0DVSO7FLg-dGSbmR630WFQ6V9c,4184
15
15
  anchor/undo.py,sha256=HXhrzV-T2JKwPd28KCaR9S6GWmi2Wr2Xk7IBEonRRCs,32564
16
16
  anchor/widgets.py,sha256=arL006v_cOGWudEF4Adbh_wRjiyFRGHP9BXOtfCr0h0,158301
17
17
  anchor/workers.py,sha256=iWLBGCg6jJr_OmVFJCRGMgF5Rw5G9IhpdNiqDv8ZBxU,171083
18
- Anchor_annotator-0.3.2.dist-info/LICENSE,sha256=C0oIsblENEgWQ7XMNdYoXyXsIA5wa3YF0I9lK3H7A1s,1076
19
- Anchor_annotator-0.3.2.dist-info/METADATA,sha256=YcbnBTVx6O59V8W-6t9wu5GVrQBvGcXWDK3fCWHhkvE,1500
20
- Anchor_annotator-0.3.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
21
- Anchor_annotator-0.3.2.dist-info/top_level.txt,sha256=wX6ZKxImGRZKFQjs3f6XYw_TfbAp6Xs3SmbLfLbFAJ0,7
22
- Anchor_annotator-0.3.2.dist-info/RECORD,,
18
+ Anchor_annotator-0.3.3.dist-info/LICENSE,sha256=C0oIsblENEgWQ7XMNdYoXyXsIA5wa3YF0I9lK3H7A1s,1076
19
+ Anchor_annotator-0.3.3.dist-info/METADATA,sha256=KPemKhTKt7Rh3N4-k-f8V4tHoAkvoUKrhUlonplJrLo,1500
20
+ Anchor_annotator-0.3.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
21
+ Anchor_annotator-0.3.3.dist-info/top_level.txt,sha256=wX6ZKxImGRZKFQjs3f6XYw_TfbAp6Xs3SmbLfLbFAJ0,7
22
+ Anchor_annotator-0.3.3.dist-info/RECORD,,
anchor/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.3.2'
16
- __version_tuple__ = version_tuple = (0, 3, 2)
15
+ __version__ = version = '0.3.3'
16
+ __version_tuple__ = version_tuple = (0, 3, 3)
anchor/main.py CHANGED
@@ -1087,8 +1087,8 @@ class MainWindow(QtWidgets.QMainWindow):
1087
1087
  )
1088
1088
  for m in (
1089
1089
  session.query(anchor.db.AcousticModel)
1090
- .order_by(anchor.db.AcousticModel.last_used.desc())
1091
1090
  .filter_by(available_locally=True)
1091
+ .order_by(anchor.db.AcousticModel.last_used.desc())
1092
1092
  ):
1093
1093
  a = QtGui.QAction(f"{m.path} [{m.name}]", parent=self)
1094
1094
  a.setData(m.id)
@@ -1105,8 +1105,8 @@ class MainWindow(QtWidgets.QMainWindow):
1105
1105
 
1106
1106
  for m in (
1107
1107
  session.query(anchor.db.Dictionary)
1108
- .order_by(anchor.db.Dictionary.last_used.desc())
1109
1108
  .filter_by(available_locally=True)
1109
+ .order_by(anchor.db.Dictionary.last_used.desc())
1110
1110
  ):
1111
1111
  a = QtGui.QAction(text=f"{m.path} [{m.name}]", parent=self)
1112
1112
  a.setData(m.id)
@@ -1122,8 +1122,8 @@ class MainWindow(QtWidgets.QMainWindow):
1122
1122
 
1123
1123
  for m in (
1124
1124
  session.query(anchor.db.LanguageModel)
1125
- .order_by(anchor.db.LanguageModel.last_used.desc())
1126
1125
  .filter_by(available_locally=True)
1126
+ .order_by(anchor.db.LanguageModel.last_used.desc())
1127
1127
  ):
1128
1128
  a = QtGui.QAction(text=f"{m.path} [{m.name}]", parent=self)
1129
1129
  a.setData(m.id)
@@ -1139,8 +1139,8 @@ class MainWindow(QtWidgets.QMainWindow):
1139
1139
 
1140
1140
  for m in (
1141
1141
  session.query(anchor.db.G2PModel)
1142
- .order_by(anchor.db.G2PModel.last_used.desc())
1143
1142
  .filter_by(available_locally=True)
1143
+ .order_by(anchor.db.G2PModel.last_used.desc())
1144
1144
  ):
1145
1145
  a = QtGui.QAction(text=f"{m.path} [{m.name}]", parent=self)
1146
1146
  a.setData(m.id)
@@ -1932,7 +1932,7 @@ class MainWindow(QtWidgets.QMainWindow):
1932
1932
  session.query(anchor.db.AnchorCorpus).filter_by(current=True).update(
1933
1933
  {anchor.db.AnchorCorpus.acoustic_model_id: m_id}
1934
1934
  )
1935
- session.query(anchor.db.AcousticModel).filter_by(
1935
+ session.query(anchor.db.AcousticModel).filter(
1936
1936
  anchor.db.AcousticModel.id == m_id
1937
1937
  ).update(
1938
1938
  {
@@ -2003,9 +2003,7 @@ class MainWindow(QtWidgets.QMainWindow):
2003
2003
  session.query(anchor.db.AnchorCorpus).filter_by(current=True).update(
2004
2004
  {anchor.db.AnchorCorpus.dictionary_id: m_id}
2005
2005
  )
2006
- session.query(anchor.db.Dictionary).filter_by(
2007
- anchor.db.Dictionary.id == m_id
2008
- ).update(
2006
+ session.query(anchor.db.Dictionary).filter(anchor.db.Dictionary.id == m_id).update(
2009
2007
  {
2010
2008
  anchor.db.Dictionary.last_used: datetime.datetime.now(),
2011
2009
  }
@@ -2060,7 +2058,7 @@ class MainWindow(QtWidgets.QMainWindow):
2060
2058
  session.query(anchor.db.AnchorCorpus).filter_by(current=True).update(
2061
2059
  {anchor.db.AnchorCorpus.language_model_id: m_id}
2062
2060
  )
2063
- session.query(anchor.db.LanguageModel).filter_by(
2061
+ session.query(anchor.db.LanguageModel).filter(
2064
2062
  anchor.db.LanguageModel.id == m_id
2065
2063
  ).update(
2066
2064
  {
@@ -2139,7 +2137,7 @@ class MainWindow(QtWidgets.QMainWindow):
2139
2137
  anchor.db.AnchorCorpus.g2p_model_id: m_id,
2140
2138
  }
2141
2139
  )
2142
- session.query(anchor.db.G2PModel).filter_by(anchor.db.G2PModel.id == m_id).update(
2140
+ session.query(anchor.db.G2PModel).filter(anchor.db.G2PModel.id == m_id).update(
2143
2141
  {
2144
2142
  anchor.db.G2PModel.last_used: datetime.datetime.now(),
2145
2143
  }
@@ -2182,7 +2180,7 @@ class MainWindow(QtWidgets.QMainWindow):
2182
2180
  session.query(anchor.db.AnchorCorpus).filter_by(current=True).update(
2183
2181
  {anchor.db.AnchorCorpus.ivector_extractor_id: m_id}
2184
2182
  )
2185
- session.query(anchor.db.IvectorExtractor).filter_by(
2183
+ session.query(anchor.db.IvectorExtractor).filter(
2186
2184
  anchor.db.IvectorExtractor.id == m_id
2187
2185
  ).update(
2188
2186
  {