Sunday, February 12, 2012

Noun Phrase Similarity Rules

Observation:
  1. integer: [-+]?\d+
  2. rational number: \d+[/]\d+
  3. finite decimal representation: [-+]?[0-9]*[.][0-9]+([eE][-+]?[0-9]+)?
  4. suffix hyphen: \w+[-]
  5. prefix hyphen: [-]\w+
  6. infix hyphen: \w+[-]\w+
  7. [A-Z]{2,}
  8. [A-Z]+\d+
  9. [a-z]+\d+
  10. [a-z]+[A-Z]+
  11. [a-z]+[A-Z]+\d+
  12. [A-Z]+[a-z]+\d+
  13. [a-z]+\d+[A-Z]+
  14. [a-z]+\d+[a-z]+\d+
  15. [A-Z]+[a-z]+[A-Z]+\d+
Summary:
  1. integer: [-+]?\d+
  2. rational number: \d+[/]\d+
  3. finite decimal representation: [-+]?[0-9]*[.][0-9]+([eE][-+]?[0-9]+)?
  4. suffix hyphen: \w+[-]
  5. prefix hyphen: [-]\w+
  6. infix hyphen: \w+[-]\w+
  7. [A-Z]{2,}
  8. [A-Z][\w \\\/-]*\d
  9. [a-z][\w \\\/-]*\d
  10. [a-z0-9]+[A-Z]+
  11. [a-zA-Z]+\d+[a-zA-Z]+
counter example of combining 3 and 4:  
p53 and TAFII40 and TAFII60

No comments:

Post a Comment