Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Devicemap Wiki" for 
change notification.

The "Patterns2" page has been changed by rezan:
https://wiki.apache.org/devicemap/Patterns2?action=diff&rev1=23&rev2=24

  
  This step parses the input string and creates the token stream.
  
- Each pattern file defines the input parsing rules:
+ Each pattern file defines these input parsing rules:
  
   InputTransformers::
   :: Type: list of transformation steps
@@ -123, +123 @@

  
  = Pattern Matching =
  
- This step processes the token stream and returns the highest ranking 
candidate.
+ This step processes the token stream and returns the highest ranking 
candidate pattern.
  
- The pattern file defines a pattern set. Each pattern has 2 main attributes,
+ The pattern file defines a pattern set. All patterns in the pattern set are 
evaluated to find the candidates.
+ 
+ Each pattern has 2 main attributes,
  its pattern type and its pattern rank. The pattern
  type defines how the pattern is supposed to be matched against the token 
stream.
  The pattern rank defines how the pattern ranks against other patterns.
  
- All patterns in the pattern set are evaluated to find the candidates.
- 
  All the pattern types in 2.0 are prefixed with 'Simple'. This means that each 
pattern token is matched
- using a plain byte string comparison. No regex or other syntax is allowed in 
Simple patterns.
+ using a plain byte or string comparison. No regex or other syntax is allowed 
in Simple patterns.
  This allows the algorithm to use simple byte or string hashing for matching. 
This gives maximum performance and scaling complexity equal to a hashtable 
implementation. A Simple``Hash``Count attribute can be optionally defined which 
hints the classifier as to how many unique hashes it would need to generate to 
support the pattern set.
  
  Pattern attributes:
@@ -147, +147 @@

   :: Required.
  
   RankValue::
-  :: Type: integer, 0 to 1000
+  :: Type: integer, -1000 to 1000
   :: Optional. Default: 0.
  
   PatternType::
@@ -203, +203 @@

  If 2 or more patterns share the same Pattern``Id, then only one Pattern``Type
  needs to match for this pattern to be a candidate.
  
- If no pattern is successfully matched, the Default``Id is returned. If no
+ If no candidate patterns are found, the Default``Id is returned. If no
  Default``Id is defined, a null pattern is returned.
  
  

Reply via email to