Skip to content

Commit

Permalink
token types graph Remi / CP Word fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Natooz committed Nov 18, 2021
1 parent af90e72 commit 9457178
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion miditok/cp_word.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ def _create_token_types_graph(self) -> Dict[str, List[str]]:
if self.additional_tokens['Rest']:
dic['Rest'] = ['Rest', 'Position', 'Bar']
dic['Pitch'] += ['Rest']
dic['Bar'] += ['Rest']

return dic

Expand Down
1 change: 0 additions & 1 deletion miditok/remi.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ def _create_token_types_graph(self) -> Dict[str, List[str]]:
if self.additional_tokens['Rest']:
dic['Rest'] = ['Rest', 'Position', 'Bar']
dic['Duration'] += ['Rest']
dic['Bar'] += ['Rest']

return dic

Expand Down

0 comments on commit 9457178

Please sign in to comment.