|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectefxtools.filtering.FilteringProfile
public class FilteringProfile
Storage for performance values that are measured by the
ScopeTMS. These values refer to the time spent
for generating, determining, and filtering scopes as well as to the fraction of
the input text that is actually processed within the filtering framework.
| Constructor Summary | |
|---|---|
FilteringProfile()
The constructor initializes all values. |
|
| Method Summary | |
|---|---|
static FilteringProfile |
computeAverages(FilteringProfile[] profiles)
Computes the averages of all values of the profiling objects. |
static FilteringProfile |
computeStandardDeviations(FilteringProfile[] profiles,
FilteringProfile averageProfile)
Computes the standard deviations of all values of the profiling objects with respect to to the given average profile. |
java.util.Map<java.util.Set<org.apache.uima.analysis_engine.TypeOrFeature>,java.lang.Long> |
getAlgorithmsAnalyzedCharacters()
Returns the number of analyzed characters for each algorithm. |
java.util.Map<java.util.Set<org.apache.uima.analysis_engine.TypeOrFeature>,java.lang.Long> |
getAlgorithmsInputCharacters()
Returns the number of processed characters for each algorithm. |
long |
getAllAnnotations()
Returns the number of annotations produced in total by all primitive analysis engines. |
double |
getAnalysisRate()
Returns the analysis rate, i.e., the fraction of the run-time spent in total that has been spent for analysis. |
java.util.Map<java.util.Set<org.apache.uima.analysis_engine.TypeOrFeature>,java.lang.Double> |
getAnalysisTimes()
Returns the time spent for analysis for each set of output types associated to an algorithm. |
long |
getAnalyzedCharacters()
Returns the number of analyzed characters, i.e. the number of characters of all input texts that were passed to the analysis engines within a scope. |
double |
getCharacterFilterRate()
Returns the character filter rate, i.e., a number between 0 and 1 that represents the fraction of all characters that have been analyzed. |
double |
getDeterminationTime()
Returns the time spent for determining the scopes to be processed. |
double |
getFilteringTime()
Returns the time spent for filtering scopes. |
double |
getFrameworkRate()
Returns the framework rate, i.e., the fraction of the run-time spent in total that has been spent for the filtering framework. |
double |
getGenerationTime()
Returns the time spent for generating scopes. |
long |
getInputCharacters()
Returns the overall number of processed characters, i.e. the number of characters of all input texts. |
long |
getNonScopeAnnotations()
Returns the number of non-scope annotations produced in total by all primitive analysis engines. |
double |
getOverallAnalysisTime()
Returns the overall time spent for analysis by all algorithms. |
double |
getOverallTime()
Returns the time spent in total. |
long |
getScopeAnnotations()
Returns the number of scope annotations produced in total by all primitive analysis engines. |
void |
reset()
Resets all values to the initial values. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilteringProfile()
| Method Detail |
|---|
public void reset()
public java.util.Map<java.util.Set<org.apache.uima.analysis_engine.TypeOrFeature>,java.lang.Double> getAnalysisTimes()
public double getOverallAnalysisTime()
public double getGenerationTime()
public double getDeterminationTime()
public double getFilteringTime()
public double getOverallTime()
public double getAnalysisRate()
public double getFrameworkRate()
public long getInputCharacters()
public java.util.Map<java.util.Set<org.apache.uima.analysis_engine.TypeOrFeature>,java.lang.Long> getAlgorithmsInputCharacters()
public long getAnalyzedCharacters()
public java.util.Map<java.util.Set<org.apache.uima.analysis_engine.TypeOrFeature>,java.lang.Long> getAlgorithmsAnalyzedCharacters()
public double getCharacterFilterRate()
public long getAllAnnotations()
public long getScopeAnnotations()
public long getNonScopeAnnotations()
public static FilteringProfile computeAverages(FilteringProfile[] profiles)
profiles - The profiling objects
public static FilteringProfile computeStandardDeviations(FilteringProfile[] profiles,
FilteringProfile averageProfile)
profiles - The profiling objectsaverageProfile - The average profile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||