Spaces:
Running
Running
File size: 9,884 Bytes
c149479 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
import re
def test_parse_bib():
string = """@proceedings{wsc-2023-sanskrit,
title = "Proceedings of the Computational Sanskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
editor = "Kulkarni, Amba and
Hellwig, Oliver",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.0",
}
@inproceedings{krishna-etal-2023-neural,
title = "Neural Approaches for Data Driven Dependency Parsing in {S}anskrit",
author = "Krishna, Amrith and
Gupta, Ashim and
Garasangi, Deepak and
Sandhan, Jeevnesh and
Satuluri, Pavankumar and
Goyal, Pawan",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.1",
pages = "1--20",
}
@inproceedings{sandhan-etal-2023-evaluating,
title = "Evaluating Neural Word Embeddings for {S}anskrit",
author = "Sandhan, Jivnesh and
Paranjay, Om Adideva and
Digumarthi, Komal and
Behra, Laxmidhar and
Goyal, Pawan",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.2",
pages = "21--37",
}
@inproceedings{sriram-etal-2023-validation,
title = "Validation and Normalization of {DCS} corpus and Development of the {S}anskrit Heritage Engine{'}s Segmenter",
author = "Sriram, Krishnan and
Kulkarni, Amba and
Huet, G{\'e}rard",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.3",
pages = "38--58",
}
@inproceedings{sarkar-etal-2023-pre,
title = "Pre-annotation Based Approach for Development of a {S}anskrit Named Entity Recognition Dataset",
author = "Sujoy, Sarkar and
Krishna, Amrith and
Goyal, Pawan",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.4",
pages = "59--70",
}
@inproceedings{maity-etal-2023-disambiguation,
title = "Disambiguation of Instrumental, Dative and Ablative Case suffixes in {S}anskrit",
author = "Maity, Malay and
Panchal, Sanjeev and
Kulkarni, Amba",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.5",
pages = "71--88",
}
@inproceedings{mahesh-bhattacharya-2023-creation,
title = "Creation of a Digital Rig {V}edic Index (Anukramani) for Computational Linguistic Tasks",
author = "Mahesh, A V S D S and
Bhattacharya, Arnab",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.6",
pages = "89--96",
}
@inproceedings{neill-2023-skrutable,
title = "Skrutable: Another Step Toward Effective {S}anskrit Meter Identification",
author = "Neill, Tyler",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.7",
pages = "97--112",
}
@inproceedings{terdalkar-bhattacharya-2023-chandojnanam,
title = "Chandojnanam: A {S}anskrit Meter Identification and Utilization System",
author = "Terdalkar, Hrishikesh and
Bhattacharya, Arnab",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.8",
pages = "113--127",
}
@inproceedings{ajotikar-scharf-2023-development,
title = "Development of a {TEI} standard for digital {S}anskrit texts containing commentaries: A pilot study of Bhaṭṭti{'}s R{=a}vaṇavadha with Mallin{=a}tha{'}s commentary on the first canto",
author = "Ajotikar, Tanuja P and
Scharf, Peter M",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.9",
pages = "128--145",
}
@inproceedings{scharf-chauhan-2023-ramopakhyana,
title = "R{=a}mop{=a}khy{=a}na: A Web-based reader and index",
author = "Scharf, Peter M and
Chauhan, Dhruv",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.10",
pages = "146--154",
}
@inproceedings{terdalkar-etal-2023-semantic,
title = "Semantic Annotation and Querying Framework based on Semi-structured Ayurvedic Text",
author = "Terdalkar, Hrishikesh and
Bhattacharya, Arnab and
Dubey, Madhulika and
Ramamurthy, S and
Singh, Bhavna Naneria",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.11",
pages = "155--173",
}
@inproceedings{susarla-etal-2023-shaastra,
title = "Shaastra Maps: Enabling Conceptual Exploration of {I}ndic Shaastra Texts",
author = "Susarla, Sai and
Jammalamadaka, Suryanarayana and
Nishankar, Vaishnavi and
Panuganti, Siva and
Ryali, Anupama and
Sushrutha, S",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.12",
pages = "174--187",
}
@inproceedings{hellwig-etal-2023-vedic,
title = "The {V}edic corpus as a graph. An updated version of Bloomfields {V}edic Concordance",
author = "Hellwig, Oliver and
Sellmer, Sven and
Amano, Kyoko",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.13",
pages = "188--200",
}
@inproceedings{harnsukworapanich-supphipat-2023-transmission,
title = "The transmission of the Buddha{'}s teachings in the digital age",
author = "Harnsukworapanich, Sumachaya and
Supphipat, Phatchareporn",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.14",
pages = "201--212",
}
@inproceedings{zigmond-2023-distinguishing,
title = "Distinguishing Commentary from Canon: Experiments in P{=a}li Computational Linguistics",
author = "Zigmond, Dan",
booktitle = "Proceedings of the Computational {S}anskrit & Digital Humanities: Selected papers presented at the 18th World {S}anskrit Conference",
month = jan,
year = "2023",
address = "Canberra, Australia (Online mode)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.wsc-csdh.15",
pages = "213--222",
}""" # noqa: W605
new_string = re.sub(r"and$\n\s+", "and ", string, flags=re.MULTILINE)
print(new_string)
if __name__ == "__main__":
test_parse_bib()
|