| Package | Description |
|---|---|
| net.java.sen | |
| net.java.sen.dictionary | |
| net.java.sen.filter |
| Modifier and Type | Method and Description |
|---|---|
Reading |
ReadingProcessor.getReadingConstraint(int position)
Gets a reading constraint set on the currently analysed text
|
Reading |
ReadingProcessor.getReadingConstraint(int position)
Gets a reading constraint set on the currently analysed text
|
| Modifier and Type | Method and Description |
|---|---|
SortedMap<Integer,Reading> |
ReadingProcessor.ReadingResult.getBaseReadings()
Gets the base readings resulting from processing of the result's
text.
Note that although the returned data is isolated from any changes to the ReadingProcessor, it is not copied internally, and any
changes you make to the returned data will be reflected by
subsequent calls to this method on the same ReadingProcessor.ReadingResult object |
SortedMap<Integer,Reading> |
ReadingProcessor.ReadingResult.getBaseReadings()
Gets the base readings resulting from processing of the result's
text.
Note that although the returned data is isolated from any changes to the ReadingProcessor, it is not copied internally, and any
changes you make to the returned data will be reflected by
subsequent calls to this method on the same ReadingProcessor.ReadingResult object |
List<Reading> |
ReadingProcessor.getDisplayReadings()
Returns a list of readings generated from the current text.
|
SortedMap<Integer,Reading> |
ReadingProcessor.ReadingResult.getDisplayReadings()
Gets the visible reading fragments resulting from processing of the
result's text.
Note that although the returned data is isolated from any changes to the ReadingProcessor, it is not copied internally, and any
changes you make to the returned data will be reflected by
subsequent calls to this method on the same ReadingProcessor.ReadingResult object |
List<Reading> |
ReadingProcessor.getDisplayReadings()
Returns a list of readings generated from the current text.
|
SortedMap<Integer,Reading> |
ReadingProcessor.ReadingResult.getDisplayReadings()
Gets the visible reading fragments resulting from processing of the
result's text.
Note that although the returned data is isolated from any changes to the ReadingProcessor, it is not copied internally, and any
changes you make to the returned data will be reflected by
subsequent calls to this method on the same ReadingProcessor.ReadingResult object |
| Modifier and Type | Method and Description |
|---|---|
void |
ReadingProcessor.setReadingConstraint(Reading constraint)
Sets a reading constraint on the currently analysed text.
Note: In contrast to constraints set directly on a Viterbi instance, there is no need to pass the constraint in katakana; the exact reading text supplied will appear in the analysed readings |
void |
ReadingProcessor.setReadingConstraint(Reading constraint)
Sets a reading constraint on the currently analysed text.
Note: In contrast to constraints set directly on a Viterbi instance, there is no need to pass the constraint in katakana; the exact reading text supplied will appear in the analysed readings |
| Modifier and Type | Method and Description |
|---|---|
Reading |
Sentence.getReadingConstraint(int position)
Gets the reading constraint at the given position, if any
|
Reading |
Sentence.getReadingConstraint(int position)
Gets the reading constraint at the given position, if any
|
| Modifier and Type | Method and Description |
|---|---|
void |
Sentence.setReadingConstraint(Reading constraint)
Sets a reading constraint on the Sentence starting at
position |
void |
Sentence.setReadingConstraint(Reading constraint)
Sets a reading constraint on the Sentence starting at
position |
| Modifier and Type | Field and Description |
|---|---|
List<Reading> |
ReadingNode.baseReadings
A sorted list of readings within the covered range of morphemes.
|
List<Reading> |
ReadingNode.baseReadings
A sorted list of readings within the covered range of morphemes.
|
List<Reading> |
ReadingNode.displayReadings
A sorted list of visible reading fragments within the covered range of morphemes
|
List<Reading> |
ReadingNode.displayReadings
A sorted list of visible reading fragments within the covered range of morphemes
|