devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Devicemap Wiki] Update of "Patterns2" by rezan
Date Mon, 12 Jan 2015 02:51:11 GMT
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=17&rev2=18

  = Data Specification 2.0 =
  Draft 1, 2014-01-10
  
- This is the DeviceMap data specification for patterns and attributes.
+ This is the DeviceMap Data specification for patterns and attributes.
  
  
  === Overview ===
  
- This document goes over how DeviceMap data 2.0 (domains) are defined and how the
+ This document goes over how DeviceMap Data 2.0 is defined and how the
- classifiers will process input against the domains.
+ classifiers process input against the data.
  
  The classification process is broken down into three phases:
  
@@ -45, +45 @@

   candidate::
   :: this is a pattern which has successfully matched a pattern type in the token stream
  
+  pattern set::
+  :: the set of all patterns described in the pattern file
+ 
   file::
-  :: a file is some kind of representation of the settings described in this document
+  :: some kind of persistant representation of the settings described in this document
  
+  domain::
+  :: a versioned pattern and attribute file
  
  === Format ===
  
@@ -122, +127 @@

  This step processes the token stream and returns the highest ranking pattern which
  matches on the stream (highest ranking candidate).
  
- The pattern file defines a set of patterns. Each pattern has 2 main attributes,
+ The pattern file defines a pattern set. 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.
@@ -209, +214 @@

  
  2 or more patterns cannot have identical Rank``Type, Rank``Value, and matched tokens. This
is undefined behavior since they will be
  found at the same time. The pattern the classifier chooses can be random.
+ 
+ New pattern types and ranks can be introduced in the future. If a classifier encounters
a definition it cannot support, it must immediately return an initialization error.
  
  
  === Examples ===

Mime
View raw message