<?php
class DeDeText extends Intent {
public $hasOtherIntents = true;
function init(){
$this->name = "improveGerman";
// preg_match('/(\d+((.|,)\d+)?)\S*\s*toman.*/', $input_line, $output_array);
$this->patterns[] = new Pattern("longGermanText", "/(^[\w\d]{4,30})/i");
// preg_match('/[^A-Za-z0-9]/', $word)
// && !preg_match('/ü/', $word)
// && !preg_match('/Ü/', $word)
// && !preg_match('/ä/', $word)
// && !preg_match('/Ä/', $word)
// && !preg_match('/ö/', $word)
// && !preg_match('/Ö/', $word)
// && !preg_match('/ß/', $word);
}
function getIntentID(){
return 12;
}
function act(){
}
}