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] Trivial Update of "Patterns2" by rezan
Date Fri, 09 Jan 2015 22:24:58 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=3&rev2=4

Comment:
patch

  === Example ===
  
  {{{
- InputTransformers: lowercase, [0-9]+ => _NUM
+ InputTransformers: lowercase, s/[0-9]+/_NUM/g, s/-//g
  TokenSeparators:   [space]
  NgramConcatSize:   2
  
- Input string:  A 12 xyZ
+ Input string:  A 12 x-yZ
  
  Transform:     a _NUM xyz
  
@@ -253, +253 @@

  If a null pattern is returned from the previous step, this must be safely returned.
  TODO: how?
  
+ 
+ 
+ = Patch Files =
+ 
+ The pattern and attribute files can be patched with a user created pattern and
+ attribute file. In this case, parsing configurations override, pattern
+ definitions get appended (you can override using pattern ranking), and attributes
+ override using the Pattern``Id.
+ 

Mime
View raw message