Skip to content

Commit

Permalink
add location to all themes (including experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
phueb committed Apr 9, 2022
1 parent 9994d3a commit e0f9292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions missingadjunct/corpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_logical_forms(self) -> Generator[LogicalForm, None, None]:

if lf.theme in self.experimental_themes:
lf.instrument = None
lf.location = None
# lf.location = None # the point of location is to cluster all themes (also experimental themes)

if not self.include_location:
lf.location = None
Expand All @@ -118,7 +118,7 @@ def get_logical_forms(self) -> Generator[LogicalForm, None, None]:
yield lf

# for remaining epochs, sample randomly from agent and theme
epoch = 0
epoch = -1
for theme_class, agent_class, verb in self._gen_templates():
epoch += 1

Expand All @@ -144,7 +144,7 @@ def get_logical_forms(self) -> Generator[LogicalForm, None, None]:

if lf.theme in self.experimental_themes:
lf.instrument = None
lf.location = None
# lf.location = None # the point of location is to cluster all themes (including experimental themes)

if not self.include_location:
lf.location = None
Expand Down

0 comments on commit e0f9292

Please sign in to comment.