You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2011/08/01 17:25:50 UTC
svn commit: r1152824 [1/21] - in
/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker:
./ action/ batch/ condition/ engine/ kernel/ kernel/constraint/
kernel/expression/ kernel/expression/bool/...
Author: joern
Date: Mon Aug 1 15:24:44 2011
New Revision: 1152824
URL: http://svn.apache.org/viewvc?rev=1152824&view=rev
Log:
UIMA-2172 Initial commit of the TextMarker contribution.
Added:
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractMarkAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractStructureAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractTextMarkerAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ActionFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AddAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AssignAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/CallAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ClearAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ColorAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ComposedAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/CreateAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/DelAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ExecAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ExpandAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/FillAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/FilterMarkupAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/FilterTypeAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/GatherAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/GetAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/GetFeatureAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/GetListAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/LogAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/MarkAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/MarkFastAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/MarkLastAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/MarkOnceAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/MarkTableAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/MatchedTextAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/MergeAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/RemoveAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/RemoveDuplicateAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ReplaceAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/RetainMarkupAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/RetainTypeAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/SetFeatureAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/TransferAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/TrieAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/TypeSensitiveAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/UnmarkAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/UnmarkAllAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/VariableAction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/batch/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/batch/TextMarkerEngineTest.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/batch/TextMarkerVersionConverter.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/batch/TextMarkerXMLConverter.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/AbstractTextMarkerCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/AfterCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/AndCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/BeforeCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/ComposedTextMarkerCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/ConditionFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/ContainsCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/ContextCountCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/CountCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/CurrentCountCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/EndsWithCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/FeatureCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/IfCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/InListCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/IsCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/IsInTagCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/LastCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/MOfNCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/NearCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/NotCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/OrCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/ParseCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/PartOfCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/PartOfNeqCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/PositionCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/RegExpCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/ScoreCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/SizeCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/StartsWithCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/TerminalTextMarkerCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/TotalCountCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/TypeSentiveCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/VariableCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/condition/VoteCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/engine/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/engine/StyleMapFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/engine/TextMarkerEngine.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/engine/TextMarkerModifier.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/BlockApply.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/FilterManager.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/ScriptApply.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerAutomataBlock.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerAutomataFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerBlock.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerElement.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerEnvironment.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerModule.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerScriptBlock.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerScriptFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerStatement.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/TextMarkerStream.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/constraint/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/constraint/BasicTypeConstraint.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/constraint/MarkupConstraint.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/constraint/NotConstraint.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/constraint/NotMatchConstraint.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/ExpressionFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/TextMarkerExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/BooleanExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/BooleanFunctionExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/BooleanNumberExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/BooleanTypeExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/ReferenceBooleanExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/SimpleBooleanExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/bool/SimpleBooleanFunction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/BooleanListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/ListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/NumberListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/ReferenceBooleanListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/ReferenceNumberListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/ReferenceStringListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/ReferenceTypeListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/SimpleBooleanListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/SimpleNumberListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/SimpleStringListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/SimpleTypeListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/StringListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/list/TypeListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/AbstractNumberExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/ComposedDoubleExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/ComposedIntegerExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/NegativeNumberExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/NumberExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/NumberFunctionExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/ReferenceDoubleExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/ReferenceIntegerExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/number/SimpleNumberExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/resource/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/resource/LiteralWordListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/resource/LiteralWordTableExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/resource/ReferenceWordListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/resource/ReferenceWordTableExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/resource/WordListExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/resource/WordTableExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/ComposedStringExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/LiteralStringExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/ReferenceStringExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/RemoveFunction.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/SimpleStringExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/StringExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/StringFunctionExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/string/StringFunctionFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/type/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/type/ReferenceTypeExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/type/SimpleTypeExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/type/TypeExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/expression/type/TypeFunctionExpression.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/DefaultEngineLoader.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/IEngineLoader.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/ITextMarkerActionExtension.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/ITextMarkerBooleanFunctionExtension.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/ITextMarkerConditionExtension.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/ITextMarkerExtension.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/ITextMarkerNumberFunctionExtension.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/ITextMarkerStringFunctionExtension.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/ITextMarkerTypeFunctionExtension.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/TextMarkerEngineLoader.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/extensions/TextMarkerExternalFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/AbstractRuleElement.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/ComposedRuleElement.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/DummyFSIterator.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/EvaluatedCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/RuleApply.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/RuleElement.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/RuleElementMatch.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/RuleMatch.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/TextMarkerLiteralMatcher.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/TextMarkerMatcher.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/TextMarkerRule.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/TextMarkerRuleElement.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/TextMarkerTypeMatcher.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/MinMaxGreedy.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/MinMaxReluctant.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/NormalQuantifier.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/PlusGreedy.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/PlusReluctant.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/QuestionGreedy.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/QuestionReluctant.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/RuleElementQuantifier.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/StarGreedy.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/rule/quantifier/StarReluctant.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugBlockApply.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugBlockApply_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugEvaluatedCondition.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugEvaluatedCondition_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugFailedRuleMatch.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugFailedRuleMatch_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugMatchedRuleMatch.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugMatchedRuleMatch_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleApply.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleApply_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleElementMatch.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleElementMatch_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleElementMatches.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleElementMatches_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleMatch.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugRuleMatch_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugScriptApply.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/DebugScriptApply_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/EvalAnnotation.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/EvalAnnotation_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/FalseNegative.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/FalseNegative_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/FalsePositive.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/FalsePositive_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/ProfiledAnnotation.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/ProfiledAnnotation_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/Statistics.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/Statistics_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerAnnotation.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerAnnotation_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerBasic.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerBasic_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerColoring.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerColoring_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerFrame.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TextMarkerFrame_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TruePositive.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/type/TruePositive_Type.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/visitor/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/visitor/DebugInfoCollectorVisitor.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/visitor/DebugInfoFactory.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/visitor/InferenceCrowd.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/visitor/StatisticsVisitor.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/visitor/TextMarkerInferenceVisitor.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/kernel/visitor/TimeProfilerVisitor.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/Copy of TextMarker.g (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarker.g (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarker.tokens (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarkerDescriptorParser.g (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarkerLexer.g (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarkerLexer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarkerLexer.tokens (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarkerParser.g (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarkerParser.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/parser/TextMarkerParser.tokens (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/AnonymousWordList.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/CSVTable.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/TextMarkerTable.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/TextMarkerWordList.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/TextNode.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/TreeWordList.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/XMLEventHandler.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/trie/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/trie/EditDistanceCostMap.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/trie/EditDistanceResultMap.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/trie/MultiTextNode.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/trie/MultiTreeWordList.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/trie/MultiTreeWordListPersistence.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/resource/trie/TrieXMLEventHandler.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/Copy (2) of SeedLexer.flex (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/Copy of SeedLexer.flex (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/DefaultSeeder.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/SeedLexer.flex (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/SeedLexer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/SourceLexer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/seed/TextMarkerAnnotationSeeder.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/utils/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/utils/UIMAUtils.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/verbalize/
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/verbalize/ActionVerbalizer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/verbalize/ConditionVerbalizer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/verbalize/ExpressionVerbalizer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/verbalize/ScriptVerbalizer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/verbalize/TextMarkerVerbalizer.java (with props)
uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/verbalize/VerbalizerUtils.java (with props)
Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractMarkAction.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractMarkAction.java?rev=1152824&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractMarkAction.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractMarkAction.java Mon Aug 1 15:24:44 2011
@@ -0,0 +1,49 @@
+package org.apache.uima.tm.textmarker.action;
+
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.text.AnnotationFS;
+import org.apache.uima.jcas.tcas.Annotation;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerStream;
+import org.apache.uima.tm.textmarker.kernel.expression.type.TypeExpression;
+import org.apache.uima.tm.textmarker.kernel.rule.RuleMatch;
+import org.apache.uima.tm.textmarker.kernel.rule.TextMarkerRuleElement;
+import org.apache.uima.tm.textmarker.kernel.type.TextMarkerBasic;
+
+
+public abstract class AbstractMarkAction extends TypeSensitiveAction {
+
+ public AbstractMarkAction(TypeExpression type) {
+ super(type);
+ }
+
+ protected void createAnnotation(RuleMatch match, TextMarkerRuleElement element,
+ TextMarkerStream stream, AnnotationFS matchedAnnotation) {
+ TextMarkerBasic first = stream.getFirstBasicInWindow(matchedAnnotation);
+ if (first == null) {
+ first = match.getFirstBasic();
+ }
+ createAnnotation(first, element, stream, matchedAnnotation);
+ }
+
+ protected Annotation createAnnotation(TextMarkerBasic anchor, TextMarkerRuleElement element,
+ TextMarkerStream stream, AnnotationFS matchedAnnotation) {
+ Type t = type.getType(element.getParent());
+ AnnotationFS newAnnotationFS = stream.getCas().createAnnotation(t,
+ matchedAnnotation.getBegin(), matchedAnnotation.getEnd());
+ Annotation newAnnotation = null;
+ if (newAnnotationFS instanceof Annotation) {
+ newAnnotation = (Annotation) newAnnotationFS;
+ newAnnotation.addToIndexes();
+ } else {
+ return null;
+ }
+ stream.addAnnotation(anchor, newAnnotation);
+ return newAnnotation;
+ }
+
+ @Override
+ public String toString() {
+ return super.toString() + "," + type.getClass().getSimpleName();
+ }
+
+}
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractMarkAction.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractMarkAction.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractStructureAction.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractStructureAction.java?rev=1152824&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractStructureAction.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractStructureAction.java Mon Aug 1 15:24:44 2011
@@ -0,0 +1,86 @@
+package org.apache.uima.tm.textmarker.action;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Map.Entry;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.TypeSystem;
+import org.apache.uima.cas.text.AnnotationFS;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.cas.FSArray;
+import org.apache.uima.jcas.cas.TOP;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerStream;
+import org.apache.uima.tm.textmarker.kernel.expression.TextMarkerExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.bool.BooleanExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.number.NumberExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.string.StringExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.type.TypeExpression;
+import org.apache.uima.tm.textmarker.kernel.rule.TextMarkerRuleElement;
+import org.apache.uima.tm.textmarker.utils.UIMAUtils;
+
+
+public abstract class AbstractStructureAction extends AbstractTextMarkerAction {
+
+ protected void fillFeatures(TOP structure, Map<StringExpression, TextMarkerExpression> features,
+ AnnotationFS matchedAnnotation, TextMarkerRuleElement element, TextMarkerStream stream) {
+ Map<String, TextMarkerExpression> map = new HashMap<String, TextMarkerExpression>();
+ for (Entry<StringExpression, TextMarkerExpression> each : features.entrySet()) {
+ String value = each.getKey().getStringValue(element.getParent());
+ map.put(value, each.getValue());
+ }
+
+ TypeSystem typeSystem = stream.getCas().getTypeSystem();
+ JCas jcas = stream.getJCas();
+ List<?> featuresList = structure.getType().getFeatures();
+ for (int i = 0; i < featuresList.size(); i++) {
+ Feature targetFeature = (Feature) featuresList.get(i);
+ String name = targetFeature.getName();
+ String shortFName = name.substring(name.indexOf(":") + 1, name.length());
+ Object valueObject = map.get(shortFName);
+ Type range = targetFeature.getRange();
+ if (valueObject != null) {
+ if (valueObject instanceof StringExpression && range.getName().equals("uima.cas.String")) {
+ structure.setStringValue(targetFeature, ((StringExpression) valueObject)
+ .getStringValue(element.getParent()));
+ } else if (valueObject instanceof TypeExpression
+ && range.getName().equals("uima.cas.String")) {
+ TypeExpression type = (TypeExpression) valueObject;
+ List<AnnotationFS> annotationsInWindow = stream.getAnnotationsInWindow(matchedAnnotation,
+ type.getType(element.getParent()));
+ if (annotationsInWindow != null && !annotationsInWindow.isEmpty()) {
+ AnnotationFS annotation = annotationsInWindow.get(0);
+ structure.setStringValue(targetFeature, annotation.getCoveredText());
+ }
+ } else if (valueObject instanceof NumberExpression
+ && range.getName().equals("uima.cas.Integer")) {
+ structure.setIntValue(targetFeature, ((NumberExpression) valueObject)
+ .getIntegerValue(element.getParent()));
+ } else if (valueObject instanceof NumberExpression
+ && range.getName().equals("uima.cas.Double")) {
+ structure.setDoubleValue(targetFeature, ((NumberExpression) valueObject)
+ .getDoubleValue(element.getParent()));
+ } else if (valueObject instanceof BooleanExpression
+ && range.getName().equals("uima.cas.Boolean")) {
+ structure.setBooleanValue(targetFeature, ((BooleanExpression) valueObject)
+ .getBooleanValue(element.getParent()));
+ } else if (valueObject instanceof TypeExpression) {
+ TypeExpression type = (TypeExpression) valueObject;
+ List<AnnotationFS> annotationsInWindow = stream.getAnnotationsInWindow(matchedAnnotation,
+ type.getType(element.getParent()));
+ if (typeSystem.subsumes(jcas.getCasType(FSArray.type), range)) {
+ structure
+ .setFeatureValue(targetFeature, UIMAUtils.toFSArray(jcas, annotationsInWindow));
+ } else if (typeSystem.subsumes(range, type.getType(element.getParent()))
+ && !annotationsInWindow.isEmpty()) {
+ AnnotationFS annotation = annotationsInWindow.get(0);
+ structure.setFeatureValue(targetFeature, annotation);
+ }
+ }
+ }
+
+ }
+ }
+}
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractStructureAction.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractStructureAction.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractTextMarkerAction.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractTextMarkerAction.java?rev=1152824&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractTextMarkerAction.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractTextMarkerAction.java Mon Aug 1 15:24:44 2011
@@ -0,0 +1,19 @@
+package org.apache.uima.tm.textmarker.action;
+
+import org.apache.uima.tm.textmarker.kernel.TextMarkerElement;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerStream;
+import org.apache.uima.tm.textmarker.kernel.rule.RuleMatch;
+import org.apache.uima.tm.textmarker.kernel.rule.TextMarkerRuleElement;
+import org.apache.uima.tm.textmarker.kernel.visitor.InferenceCrowd;
+
+public abstract class AbstractTextMarkerAction extends TextMarkerElement {
+
+ public abstract void execute(RuleMatch match, TextMarkerRuleElement element,
+ TextMarkerStream stream, InferenceCrowd crowd);
+
+ @Override
+ public String toString() {
+ return getClass().getSimpleName();
+ }
+
+}
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractTextMarkerAction.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AbstractTextMarkerAction.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ActionFactory.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ActionFactory.java?rev=1152824&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ActionFactory.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ActionFactory.java Mon Aug 1 15:24:44 2011
@@ -0,0 +1,214 @@
+package org.apache.uima.tm.textmarker.action;
+
+import java.util.List;
+import java.util.Map;
+import java.util.logging.Level;
+
+import org.antlr.runtime.Token;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerBlock;
+import org.apache.uima.tm.textmarker.kernel.expression.TextMarkerExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.bool.BooleanExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.list.ListExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.list.TypeListExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.number.NumberExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.resource.WordListExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.resource.WordTableExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.string.StringExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.type.TypeExpression;
+
+
+public class ActionFactory {
+
+ private ActionFactory() {
+ }
+
+ public static AbstractTextMarkerAction createColorAction(TypeExpression typeExpr,
+ StringExpression bgcolor, StringExpression fgcolor, BooleanExpression selected,
+ TextMarkerBlock parent) {
+ return new ColorAction(typeExpr, bgcolor, fgcolor, selected);
+ }
+
+ public static AbstractTextMarkerAction createDelAction(TextMarkerBlock parent) {
+ return new DelAction();
+ }
+
+ public static AbstractTextMarkerAction createMarkFastAction(TypeExpression type,
+ WordListExpression list, BooleanExpression ignore, NumberExpression ignoreLength,
+ TextMarkerBlock parent) {
+ return new MarkFastAction(type, list, ignore, ignoreLength);
+ }
+
+ public static AbstractTextMarkerAction createMarkLastAction(TypeExpression type,
+ TextMarkerBlock parent) {
+ return new MarkLastAction(type);
+ }
+
+ public static AbstractTextMarkerAction createRetainMarkupAction(List<StringExpression> markup,
+ TextMarkerBlock parent) {
+ return new RetainMarkupAction(markup);
+ }
+
+ public static AbstractTextMarkerAction createRetainTypeAction(List<TypeExpression> types,
+ TextMarkerBlock parent) {
+ return new RetainTypeAction(types);
+ }
+
+ public static AbstractTextMarkerAction createLogAction(StringExpression expr, Token log,
+ TextMarkerBlock parent) {
+ String logString = log == null ? "INFO" : log.getText();
+ Level level = Level.parse(logString.toUpperCase());
+ return new LogAction(expr, level);
+ }
+
+ public static AbstractTextMarkerAction createMarkAction(NumberExpression score,
+ TypeExpression type, List<NumberExpression> list, TextMarkerBlock parent) {
+ return new MarkAction(type, score, list);
+ }
+
+ public static AbstractTextMarkerAction createMarkOnceAction(NumberExpression score,
+ TypeExpression type, List<NumberExpression> list, TextMarkerBlock env) {
+ return new MarkOnceAction(type, score, list);
+ }
+
+ public static AbstractTextMarkerAction createReplaceAction(StringExpression lit,
+ TextMarkerBlock parent) {
+ return new ReplaceAction(lit);
+ }
+
+ public static AbstractTextMarkerAction createCreateAction(TypeExpression typeExpr,
+ Map<StringExpression, TextMarkerExpression> map, List<NumberExpression> indexes,
+ TextMarkerBlock parent) {
+ return new CreateAction(typeExpr, map, indexes);
+ }
+
+ public static AbstractTextMarkerAction createGatherAction(TypeExpression typeExpr,
+ Map<StringExpression, TextMarkerExpression> map, List<NumberExpression> indexes,
+ TextMarkerBlock parent) {
+ return new GatherAction(typeExpr, map, indexes);
+ }
+
+ public static AbstractTextMarkerAction createFillAction(TypeExpression type,
+ Map<StringExpression, TextMarkerExpression> map, TextMarkerBlock parent) {
+ return new FillAction(type, map);
+ }
+
+ public static AbstractTextMarkerAction createCallAction(String ns, TextMarkerBlock parent) {
+ return new CallAction(ns);
+ }
+
+ public static AbstractTextMarkerAction createAssignAction(Token nv, TextMarkerExpression e,
+ TextMarkerBlock parent) {
+ return new AssignAction(nv.getText(), e);
+ }
+
+ public static AbstractTextMarkerAction createFilterTypeAction(List<TypeExpression> types,
+ TextMarkerBlock parent) {
+ return new FilterTypeAction(types);
+ }
+
+ public static AbstractTextMarkerAction createFilterMarkupAction(List<StringExpression> list,
+ TextMarkerBlock parent) {
+ return new FilterMarkupAction(list);
+ }
+
+ public static AbstractTextMarkerAction createSetFeatureAction(StringExpression f, Object v,
+ TextMarkerBlock parent) {
+ if (v instanceof NumberExpression) {
+ return new SetFeatureAction(f, (NumberExpression) v);
+ } else if (v instanceof StringExpression) {
+ return new SetFeatureAction(f, (StringExpression) v);
+ } else if (v instanceof BooleanExpression) {
+ return new SetFeatureAction(f, (BooleanExpression) v);
+ }
+ return null;
+ }
+
+ public static AbstractTextMarkerAction createUnmarkAction(TypeExpression f, TextMarkerBlock env) {
+ return new UnmarkAction(f);
+ }
+
+ public static AbstractTextMarkerAction createUnmarkAllAction(TypeExpression f,
+ TypeListExpression list, TextMarkerBlock env) {
+ return new UnmarkAllAction(f, list);
+ }
+
+ public static AbstractTextMarkerAction createComposedAction(
+ List<AbstractTextMarkerAction> actions, TextMarkerBlock env) {
+ return new ComposedAction(actions);
+ }
+
+ public static AbstractTextMarkerAction createActionVariable(Token id) {
+ return new VariableAction(id.getText());
+ }
+
+ public static AbstractTextMarkerAction createTransferAction(TypeExpression f, TextMarkerBlock env) {
+ return new TransferAction(f);
+ }
+
+ public static AbstractTextMarkerAction createTrieAction(WordListExpression list,
+ Map<StringExpression, TypeExpression> map, BooleanExpression ignoreCase,
+ NumberExpression ignoreLength, BooleanExpression edit, NumberExpression distance,
+ StringExpression ignoreChar, TextMarkerBlock parent) {
+ return new TrieAction(list, map, ignoreCase, ignoreLength, edit, distance, ignoreChar);
+ }
+
+ public static AbstractTextMarkerAction createExecAction(String ns, TypeListExpression tl,
+ TextMarkerBlock env) {
+ return new ExecAction(ns, tl);
+ }
+
+ public static AbstractTextMarkerAction createMarkTableAction(TypeExpression structure,
+ NumberExpression index, WordTableExpression table,
+ Map<StringExpression, NumberExpression> map, TextMarkerBlock env) {
+ return new MarkTableAction(structure, index, table, map);
+ }
+
+ public static AbstractTextMarkerAction createMergeAction(BooleanExpression union, Token target,
+ List<ListExpression> list, TextMarkerBlock env) {
+ return new MergeAction(union, target == null ? null : target.getText(), list);
+ }
+
+ public static AbstractTextMarkerAction createGetAction(ListExpression<TextMarkerExpression> f,
+ Token var, StringExpression op, TextMarkerBlock env) {
+ return new GetAction(f, var == null ? null : var.getText(), op);
+ }
+
+ public static AbstractTextMarkerAction createRemoveAction(Token var,
+ List<TextMarkerExpression> list, TextMarkerBlock env) {
+ return new RemoveAction(var == null ? null : var.getText(), list);
+ }
+
+ public static AbstractTextMarkerAction createAddAction(Token var,
+ List<TextMarkerExpression> list, TextMarkerBlock env) {
+ return new AddAction(var == null ? null : var.getText(), list);
+ }
+
+ public static AbstractTextMarkerAction createGetListAction(Token var, StringExpression op,
+ TextMarkerBlock env) {
+ return new GetListAction(var == null ? null : var.getText(), op);
+ }
+
+ public static AbstractTextMarkerAction createRemoveDuplicateAction(Token var, TextMarkerBlock env) {
+ return new RemoveDuplicateAction(var == null ? null : var.getText());
+ }
+
+ public static AbstractTextMarkerAction createGetFeatureAction(StringExpression f, Token var,
+ TextMarkerBlock env) {
+ return new GetFeatureAction(f, var == null ? null : var.getText());
+ }
+
+ public static AbstractTextMarkerAction createMatchedTextAction(Token var,
+ List<NumberExpression> list, TextMarkerBlock env) {
+ return new MatchedTextAction(var == null ? null : var.getText(), list);
+ }
+
+ public static AbstractTextMarkerAction createClearAction(Token var, TextMarkerBlock env) {
+ return new ClearAction(var == null ? null : var.getText());
+ }
+
+ public static AbstractTextMarkerAction createExpandAction(TypeExpression type,
+ List<NumberExpression> list, TextMarkerBlock env) {
+ return new ExpandAction(type, list);
+ }
+
+}
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ActionFactory.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/ActionFactory.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AddAction.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AddAction.java?rev=1152824&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AddAction.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AddAction.java Mon Aug 1 15:24:44 2011
@@ -0,0 +1,66 @@
+package org.apache.uima.tm.textmarker.action;
+
+import java.util.List;
+
+import org.apache.uima.cas.Type;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerBlock;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerEnvironment;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerStream;
+import org.apache.uima.tm.textmarker.kernel.expression.TextMarkerExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.bool.BooleanExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.list.ListExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.number.NumberExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.string.StringExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.type.TypeExpression;
+import org.apache.uima.tm.textmarker.kernel.rule.RuleMatch;
+import org.apache.uima.tm.textmarker.kernel.rule.TextMarkerRuleElement;
+import org.apache.uima.tm.textmarker.kernel.visitor.InferenceCrowd;
+
+
+public class AddAction extends AbstractTextMarkerAction {
+
+ private String var;
+
+ private List<TextMarkerExpression> elements;
+
+ public AddAction(String var, List<TextMarkerExpression> list) {
+ super();
+ this.var = var;
+ this.elements = list;
+ }
+
+ public String getListExpr() {
+ return var;
+ }
+
+ public List<TextMarkerExpression> getElements() {
+ return elements;
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ public void execute(RuleMatch match, TextMarkerRuleElement element, TextMarkerStream stream,
+ InferenceCrowd crowd) {
+ TextMarkerBlock parent = element.getParent();
+ TextMarkerEnvironment environment = parent.getEnvironment();
+ List list = environment.getVariableValue(var, List.class);
+ // Class<?> vtype = environment.getVariableType(var);
+ Class<?> vgtype = environment.getVariableGenericType(var);
+ for (TextMarkerExpression each : elements) {
+ if (each instanceof ListExpression) {
+ ListExpression l = (ListExpression) each;
+ list.addAll(l.getList(parent));
+ } else if (vgtype.equals(Boolean.class) && each instanceof BooleanExpression) {
+ list.add(((BooleanExpression) each).getBooleanValue(parent));
+ } else if (vgtype.equals(Integer.class) && each instanceof NumberExpression) {
+ list.add(((NumberExpression) each).getIntegerValue(parent));
+ } else if (vgtype.equals(Double.class) && each instanceof NumberExpression) {
+ list.add(((NumberExpression) each).getDoubleValue(parent));
+ } else if (vgtype.equals(Type.class) && each instanceof TypeExpression) {
+ list.add(((TypeExpression) each).getType(parent));
+ } else if (vgtype.equals(String.class) && each instanceof StringExpression) {
+ list.add(((StringExpression) each).getStringValue(parent));
+ }
+ }
+ }
+}
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AddAction.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AddAction.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AssignAction.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AssignAction.java?rev=1152824&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AssignAction.java (added)
+++ uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AssignAction.java Mon Aug 1 15:24:44 2011
@@ -0,0 +1,61 @@
+package org.apache.uima.tm.textmarker.action;
+
+import org.apache.uima.cas.Type;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerBlock;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerEnvironment;
+import org.apache.uima.tm.textmarker.kernel.TextMarkerStream;
+import org.apache.uima.tm.textmarker.kernel.expression.TextMarkerExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.bool.BooleanExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.number.NumberExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.string.StringExpression;
+import org.apache.uima.tm.textmarker.kernel.expression.type.TypeExpression;
+import org.apache.uima.tm.textmarker.kernel.rule.RuleMatch;
+import org.apache.uima.tm.textmarker.kernel.rule.TextMarkerRuleElement;
+import org.apache.uima.tm.textmarker.kernel.visitor.InferenceCrowd;
+
+
+public class AssignAction extends AbstractTextMarkerAction {
+
+ private String var;
+
+ private TextMarkerExpression expression;
+
+ public AssignAction(String var, TextMarkerExpression e) {
+ super();
+ this.var = var;
+ this.expression = e;
+ }
+
+ @Override
+ public void execute(RuleMatch match, TextMarkerRuleElement element, TextMarkerStream stream,
+ InferenceCrowd crowd) {
+ TextMarkerBlock parent = element.getParent();
+ TextMarkerEnvironment environment = parent.getEnvironment();
+ Class<?> clazz = environment.getVariableType(var);
+ if (clazz.equals(Integer.class) && expression instanceof NumberExpression) {
+ int v = ((NumberExpression) expression).getIntegerValue(parent);
+ environment.setVariableValue(var, v);
+ } else if (clazz.equals(Double.class) && expression instanceof NumberExpression) {
+ double v = ((NumberExpression) expression).getDoubleValue(parent);
+ environment.setVariableValue(var, v);
+ } else if (clazz.equals(Type.class) && expression instanceof TypeExpression) {
+ Type v = ((TypeExpression) expression).getType(parent);
+ environment.setVariableValue(var, v);
+ } else if (clazz.equals(Boolean.class) && expression instanceof BooleanExpression) {
+ boolean v = ((BooleanExpression) expression).getBooleanValue(parent);
+ environment.setVariableValue(var, v);
+ } else if (clazz.equals(String.class) && expression instanceof StringExpression) {
+ String v = ((StringExpression) expression).getStringValue(parent);
+ environment.setVariableValue(var, v);
+ }
+ }
+
+ public String getVar() {
+ return var;
+ }
+
+ public TextMarkerExpression getExpression() {
+ return expression;
+ }
+
+}
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AssignAction.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/org.apache.uima.tm.textmarker.engine/src/main/java/org/apache/uima/tm/textmarker/action/AssignAction.java
------------------------------------------------------------------------------
svn:mime-type = text/plain