SLPG commited on
Commit
bbb2af0
·
verified ·
1 Parent(s): 2feff8a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -1
README.md CHANGED
@@ -28,9 +28,24 @@ license: apache-2.0
28
 
29
  If you use our model, kindly cite our paper:
30
 
31
- @inproceedings{xu2021lisn,
 
 
 
 
32
  title={LISN@ WMT 2021},
33
  author={Xu, Jitao and Rauf, Sadaf Abdul and Pham, Minh Quang and Yvon, Fran{\c{c}}ois},
34
  booktitle={6th Conference on Statistical Machine Translation},
35
  year={2021}
 
 
 
 
 
 
 
 
 
 
36
  }
 
 
28
 
29
  If you use our model, kindly cite our paper:
30
 
31
+ <button onclick="copyToClipboard()">Copy Citation</button>
32
+
33
+ <script>
34
+ function copyToClipboard() {
35
+ var citationText = `@inproceedings{xu2021lisn,
36
  title={LISN@ WMT 2021},
37
  author={Xu, Jitao and Rauf, Sadaf Abdul and Pham, Minh Quang and Yvon, Fran{\c{c}}ois},
38
  booktitle={6th Conference on Statistical Machine Translation},
39
  year={2021}
40
+ }`;
41
+
42
+ var dummyTextArea = document.createElement("textarea");
43
+ document.body.appendChild(dummyTextArea);
44
+ dummyTextArea.value = citationText;
45
+ dummyTextArea.select();
46
+ document.execCommand("copy");
47
+ document.body.removeChild(dummyTextArea);
48
+
49
+ alert("Citation copied to clipboard!");
50
  }
51
+ </script>