Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

PubMedDocument.java 1.5 KB

You have to be logged in to leave a comment. Sign In
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
  1. /*
  2. * Copyright 2013,2014 BioASQ project: FP7/2007-2013, ICT-2011.4.4(d),
  3. * Intelligent Information Management,
  4. * Targeted Competition Framework grant agreement n° 318652.
  5. * www: http://www.bioasq.org
  6. *
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. */
  19. /**
  20. *
  21. * @author Ioannis Partalas
  22. */
  23. package data;
  24. public class PubMedDocument {
  25. String text;
  26. String title;
  27. String pmid;
  28. String journal;
  29. String[] meshMajor;
  30. public PubMedDocument(String text, String title, String pmid, String journal, String[] meshMajor) {
  31. this.text = text;
  32. this.title = title;
  33. this.pmid = pmid;
  34. this.journal = journal;
  35. this.meshMajor = meshMajor;
  36. }
  37. public String getJournal() {
  38. return journal;
  39. }
  40. public String[] getMeshMajor() {
  41. return meshMajor;
  42. }
  43. public String getPmid() {
  44. return pmid;
  45. }
  46. public String getText() {
  47. return text;
  48. }
  49. public String getTitle() {
  50. return title;
  51. }
  52. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...