1 """A completely null tagger that always fails to assign any tags.
2
3 This tagger should not be used in practice. It is useful for tests where
4 you don't want the parser to succeed, but just check that the scripts work.
5
6 """
7 """
8 ============================== License ========================================
9 Copyright (C) 2008, 2010-12 University of Edinburgh, Mark Granroth-Wilding
10
11 This file is part of The Jazz Parser.
12
13 The Jazz Parser is free software: you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 The Jazz Parser is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with The Jazz Parser. If not, see <http://www.gnu.org/licenses/>.
25
26 ============================ End license ======================================
27
28 """
29 __author__ = "Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>"
30
31 from jazzparser import settings
32 from jazzparser.utils.input import assign_durations, strip_input
33 from jazzparser.taggers import Tagger
34 from jazzparser.data import Fraction
35 from jazzparser.utils.options import ModuleOption
36
38 """
39 The input doesn't matter. No tags will ever be returned.
40
41 """
42 COMPATIBLE_FORMALISMS = [
43 'music_roman',
44 'music_keyspan',
45 'music_halfspan',
46 ]
47 TAGGER_OPTIONS = []
48 INPUT_TYPES = ['db', 'chords','segmidi']
49
52
55
57 return self.input[index]
58