source: genre_maps.py @ 12:b209ea521e96

Revision 12:b209ea521e96, 4.3 KB checked in by andre.hagenbruch@rub.de, 8 years ago (diff)

Preparations for feed process refactoring.

Line 
1#  The MIT License
2#
3#  Copyright 2010 Andre Hagenbruch <andre.hagenbruch@ruhr-uni-bochum.de>.
4#
5#  Permission is hereby granted, free of charge, to any person obtaining a copy
6#  of this software and associated documentation files (the "Software"), to deal
7#  in the Software without restriction, including without limitation the rights
8#  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9#  copies of the Software, and to permit persons to whom the Software is
10#  furnished to do so, subject to the following conditions:
11#
12#  The above copyright notice and this permission notice shall be included in
13#  all copies or substantial portions of the Software.
14#
15#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17#  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18#  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19#  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20#  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21#  THE SOFTWARE.
22
23__author__ = "Andre Hagenbruch <andre.hagenbruch@ruhr-uni-bochum.de>"
24__date__ = "$22.01.2010 21:25:57$"
25
26GENRE_MAP = {
27    'Beitrag in Sammelwerk': 'Aufsatz',
28    'Zeitschriftenaufsatz': 'Aufsatz',
29    'Zeitungsartikel': 'Aufsatz',
30    'Rezension': 'Aufsatz',
31    'Sammelwerk': 'Buch',
32    'Monographie': 'Buch',
33    'Festschrift': 'Buch',
34    'Tagungsband': 'Buch',
35    'Dissertation': 'Buch',
36    'Habilitation': 'Buch',
37    'Magisterarbeit': 'Buch',
38    'Diplomarbeit': 'Buch',
39    'Sonderheft': 'Buch',
40    'Edition': 'Buch',
41    'Internetdokument': 'Elektronische Ressource',
42    'Software': 'Elektronische Ressource',
43    'Patentschrift': 'Sonstiges',
44    'Graue Literatur': 'Sonstiges',
45    'Gesetzeskommentar': 'Buch',
46    'Beitrag in Gesetzeskommentar': 'Aufsatz',
47    'Hochschulschrift': 'Buch',
48    'Musikdruck': 'Buch',
49    'Pressemitteilung': 'Sonstiges',
50    'Vortrag': 'Sonstiges',
51}
52
53GENRE_LOCAL_MAP = {
54    'Contribution': 'Beitrag in Sammelwerk',
55    'JournalArticle': 'Zeitschriftenaufsatz',
56    'NewspaperArticle': 'Zeitungsartikel',
57    'CollectedEdition': 'Sammelwerk',
58    'Monograph': 'Monographie',
59    'ConferenceProceedings': 'Tagungsband',
60    'SpecialIssue': 'Sonderheft',
61    'CollectedWorks': 'Edition',
62    'InternetDocument': 'Internetdokument',
63    'ComputerProgram': 'Software',
64    'Patent': 'Patentschrift',
65    'UnpublishedWork': 'Graue Literatur',
66    'LegalCommentary': 'Gesetzeskommentar',
67    'ContributionInLegalCommentary': 'Beitrag in Gesetzeskommentar',
68    'Thesis': 'Hochschulschrift',
69    'Lecture': 'Vortrag',
70    'PressRelease': 'Pressemitteilung',
71}
72
73RIS_GENRE_MAP = {
74    'Rezension': 'JOUR',
75    'Festschrift': 'BOOK',
76    'Dissertation': 'THESIS',
77    'Habilitation': 'THESIS',
78    'Magisterarbeit': 'THESIS',
79    'Diplomarbeit': 'THESIS',
80    'Musikdruck': 'BOOK',
81    'Pressemitteilung': 'GEN',
82    'Vortrag': 'GEN',
83}
84
85RIS_GENRE_LOCAL_MAP = {
86    'Contribution': 'JOUR',
87    'JournalArticle': 'JOUR',
88    'NewspaperArticle': 'JOUR',
89    'CollectedEdition': 'BOOK',
90    'Monograph': 'BOOK',
91    'ConferenceProceedings': 'CONF',
92    'SpecialIssue': 'BOOK',
93    'CollectedWorks': 'BOOK',
94    'InternetDocument': 'ICOMM',
95    'ComputerProgram': 'COMP',
96    'Patent': 'PAT',
97    'UnpublishedWork': 'UNPB',
98    'LegalCommentary': 'BOOK',
99    'ContributionInLegalCommentary': 'JOUR',
100    'Thesis': 'THES',
101    'Lecture': 'GEN',
102    'PressRelease': 'GEN',
103}
104
105BIBTEX_GENRE_MAP = {
106    'Rezension': 'article',
107    'Festschrift': 'book',
108    'Dissertation': 'phdthesis',
109    'Habilitation': 'book',
110    'Magisterarbeit': 'mastersthesis',
111    'Diplomarbeit': 'mastersthesis',
112    'Musikdruck': 'book',
113    'Pressemitteilung': 'misc',
114    'Vortrag': 'misc',
115}
116
117BIBTEX_GENRE_LOCAL_MAP = {
118    'Contribution': 'incollection',
119    'JournalArticle': 'article',
120    'NewspaperArticle': 'article',
121    'CollectedEdition': 'book',
122    'Monograph': 'book',
123    'ConferenceProceedings': 'proceedings',
124    'SpecialIssue': 'book',
125    'CollectedWorks': 'book',
126    'InternetDocument': 'misc',
127    'ComputerProgram': 'misc',
128    'Patent': 'misc',
129    'UnpublishedWork': 'unpublished',
130    'LegalCommentary': 'book',
131    'ContributionInLegalCommentary': 'incollection',
132    'Thesis': 'book',
133    'Lecture': 'misc',
134    'PressRelease': 'misc',
135}
Note: See TracBrowser for help on using the repository browser.