Class: HiwaiKaeuta::Inference
- Inherits:
-
Object
- Object
- HiwaiKaeuta::Inference
- Defined in:
- lib/hiwai_kaeuta/inference.rb
Defined Under Namespace
Modules: Pattern
Constant Summary collapse
- HIWAI_WORDS =
[['マンコ', 'マンコ'], ['チンコ', 'チンコ'], ['アナル', 'アナル'], ['マラ', 'マラ'], ['チツ', '膣']]
Class Method Summary collapse
Class Method Details
.execute(nodes) ⇒ Object
9 10 11 12 13 |
# File 'lib/hiwai_kaeuta/inference.rb', line 9 def self.execute(nodes) %w(Node No).map { |x| Pattern.const_get(x).get_all(nodes).map(&:subst).reject(&:nil?) }.flatten end |