-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConceptNode.java
104 lines (83 loc) · 1.96 KB
/
ConceptNode.java
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
package org.apache.nutch.LuceneSearchingScore;
import java.io.*;
//UNL Node information that holds other index based properties of clinical guidelines
public class ConceptNode implements Serializable
{
public String root;
public String uw;
//UNL Dictionary based properties
public int rowct;
public String entry_tag;
public String examples;
public String definitions;
public String postags;
public String sentid;
//Lucene index based properties
public String med_gid;
public String fullstring_guidelines;
public String filename_med;
public ConceptToNode rownext;
public ConceptNode colnext;
// Node constructor
public ConceptNode()
{
root="";
uw="";
entry_tag="";
examples="";
definitions="";
postags="";
med_gid="";
fullstring_guidelines="";
filename_med="";
sentid="";
rowct=0;
rownext = null;
colnext = null;
}
public ConceptNode(String rw,String uwcons,String entryid,String exampleid,String definitionid,String pos,String gid,String gstring,String fname,String sid)
{
root=rw;
uw=uwcons;
entry_tag=entryid;
examples=exampleid;
definitions=definitionid;
postags=pos;
med_gid=gid;
fullstring_guidelines=gstring;
filename_med=fname;
sentid=sid;
rowct=0;
rownext = null;
colnext = null;
}
public void setData(String rw,String uwcons,String entryid,String exampleid,String definitionid,String pos,String gid,String gstring,String fname,String sid)
{
root=rw;
uw=uwcons;
entry_tag=entryid;
examples=exampleid;
definitions=definitionid;
postags=pos;
med_gid=gid;
sentid=sid;
fullstring_guidelines=gstring;
filename_med=fname;
}
public ConceptToNode getRowNext()
{
return rownext;
}
public ConceptNode getColNext()
{
return colnext;
}
public void setRowNext(ConceptToNode rwnxt)
{
rownext = rwnxt;
}
public void setColNext(ConceptNode colnxt)
{
colnext = colnxt;
}
}