de.fu_berlin.ties.extract.amend
Class BeginEndReextractor.PositivePredictionsMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<Integer,LinkedHashMap<String,Prediction>>
de.fu_berlin.ties.extract.amend.BeginEndReextractor.PositivePredictionsMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Integer,LinkedHashMap<String,Prediction>>
- Enclosing class:
- BeginEndReextractor
public static class BeginEndReextractor.PositivePredictionsMap
- extends LinkedHashMap<Integer,LinkedHashMap<String,Prediction>>
An inner class used for communication with the first level
(BeginEndStrategy
). Instances of this
class map from integers representing the index of a token in a document
to all positive (more likely than "OTHER") predictions of a classifier.
- See Also:
- Serialized Form
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
BeginEndReextractor.PositivePredictionsMap
public BeginEndReextractor.PositivePredictionsMap()
- Creates a new instance.
BeginEndReextractor.PositivePredictionsMap
public BeginEndReextractor.PositivePredictionsMap(int initialCapacity)
throws IllegalArgumentException
- Creates a new instance.
- Parameters:
initialCapacity
- the initial capacity
- Throws:
IllegalArgumentException
- if the initial capacity is negative
or the load factor is nonpositive
BeginEndReextractor.PositivePredictionsMap
public BeginEndReextractor.PositivePredictionsMap(int initialCapacity,
float loadFactor)
throws IllegalArgumentException
- Creates a new instance.
- Parameters:
initialCapacity
- the initial capacityloadFactor
- the load factor
- Throws:
IllegalArgumentException
- if the initial capacity is negative
or the load factor is nonpositive
BeginEndReextractor.PositivePredictionsMap
public BeginEndReextractor.PositivePredictionsMap(Map<Integer,LinkedHashMap<String,Prediction>> m)
throws NullPointerException
- Creates a new instance.
- Parameters:
m
- the map whose mappings are to be placed in this map
- Throws:
NullPointerException
- if the specified map is null
Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.