Last change
on this file since 32101 was 31375, checked in by davidb, 7 years ago |
Initial cut at including POS information to solr index
|
-
Property svn:executable
set to
*
|
File size:
335 bytes
|
Line | |
---|
1 | package org.hathitrust.extractedfeatures;
|
---|
2 |
|
---|
3 | public class POSString {
|
---|
4 |
|
---|
5 | String _str;
|
---|
6 | String[] _pos_tags;
|
---|
7 |
|
---|
8 | public POSString(String str, String[] pos_tags)
|
---|
9 | {
|
---|
10 | _str = str;
|
---|
11 | _pos_tags = pos_tags;
|
---|
12 | }
|
---|
13 |
|
---|
14 | public String getString()
|
---|
15 | {
|
---|
16 | return _str;
|
---|
17 | }
|
---|
18 |
|
---|
19 | public String[] getPOSTags()
|
---|
20 | {
|
---|
21 | return _pos_tags;
|
---|
22 | }
|
---|
23 |
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.