0, "noun_proper" => 1, "noun_plural" => 2, "verb" => 3, "verb_third" => 4, "verb_continuous" => 5, "adjective" => 6,"adverb" => 7, "preposition" => 8, "postposition" => 9, "conjunction" => 10, "particle" => 11, "verb_trans" => 12); */ $BRACKET_OPEN = array("name" => "("); $BRACKET_CLOSE = array("name" => ")"); $WORD_TYPE_BIT['noun'] = pow(2,0); $WORD_TYPE_BIT['noun_proper'] = pow(2,1); $WORD_TYPE_BIT['noun_singular'] = pow(2,2); $WORD_TYPE_BIT['noun_plural'] = pow(2,3); $WORD_TYPE_BIT['noun_irregular'] = 0; //pow(2,4); $WORD_TYPE_BIT['verb'] = pow(2,5); $WORD_TYPE_BIT['verb_infinitive'] = pow(2,6); $WORD_TYPE_BIT['verb_third_person'] = pow(2,7); $WORD_TYPE_BIT['verb_plural'] = pow(2,8); // $WORD_TYPE_BIT['verb_intransitive'] = pow(2,9); // $WORD_TYPE_BIT['verb_transitive'] = pow(2,10); // $WORD_TYPE_BIT['verb_ditransitive'] = pow(2,11); //$WORD_TYPE_BIT['verb_present_tense'] = pow(2,12); $WORD_TYPE_BIT['verb_past_tense'] = pow(2,13); $WORD_TYPE_BIT['verb_present_perfect_tense'] = pow(2,14); $WORD_TYPE_BIT['verb_continuous'] = pow(2,15); $WORD_TYPE_BIT['verb_irregular'] = 0; //pow(2,16); $WORD_TYPE_BIT['adjective'] = pow(2,17); $WORD_TYPE_BIT['adverb'] = pow(2,18); $WORD_TYPE_BIT['adjective_irregular'] = 0; //pow(2,25); $WORD_TYPE_BIT['preposition'] = pow(2,19); $WORD_TYPE_BIT['postposition'] = pow(2,20); $WORD_TYPE_BIT['conjunction'] = pow(2,21); $WORD_TYPE_BIT['particle'] = pow(2,22); $WORD_TYPE_BIT['question_particle'] = pow(2,23); $WORD_TYPE_BIT['modal_verb'] = pow(2,24); $WORD_TYPE_BIT['relative_pronoun'] = pow(2,26); $WORD_TYPE_BIT['pronoun'] = pow(2,27); $WORD_TYPE_BIT['article'] = pow(2,28); $WORD_TYPE_BIT['synthetical_word'] = pow(2,29); $WORD_TYPE_BIT['string'] = pow(2,30); $WORD_TYPE_BIT['number'] = pow(2,31); $WORD_TYPE_BIT['variable'] = pow(2,9); $MODI_LIST = array('plural','article_the','article_a', 'passive','continuous','have','had','will','would','did','going_to','modal_verb',/*'relative',*/'gerund'); $MODUS_BIT['plural'] = pow(2,0); $MODUS_BIT['article_the'] = pow(2,1); $MODUS_BIT['article_a'] = pow(2,2); //$MODUS_BIT['number'] = pow(2,3); //$MODUS_BIT['number_fix_comma'] = pow(2,4); $MODUS_BIT['passive'] = pow(2,0); $MODUS_BIT['continuous'] = pow(2,1); $MODUS_BIT['have'] = pow(2,2); $MODUS_BIT['had'] = pow(2,3); $MODUS_BIT['will'] = pow(2,4); $MODUS_BIT['would'] = pow(2,5); $MODUS_BIT['going_to'] = $MODUS_BIT['will'] . $MODUS_BIT['would']; $MODUS_BIT['modal_verb'] = pow(2,6); //$MODUS_BIT['relative'] = pow(2,7); $MODUS_BIT['gerund'] = pow(2,8); $MODUS_BIT['did'] = pow(2,10); $MODUS_BIT['duplicated_word'] = pow(2,9); $SEARCH_OPTIONS = array('ignore_tenses_of_verbs', 'ignore_modal_verbs', 'allow_level_shift', 'ignore_level', 'identify_general_nouns_locally', 'identify_verbs_locally', //'split_up_adverbial_clauses_locally', 'use_clusters_for_variables', 'detach_clusters', 'ignore_preposition' ); $SEARCH_OPTIONS_TEXT = array('ignore_tenses_of_verbs' => "ignore tenses", 'ignore_modal_verbs' => "ignore modal verbs", 'allow_level_shift' => "allow level shift", 'ignore_level' => "ignore level", 'identify_general_nouns_locally' => "identify general nouns locally", 'identify_verbs_locally' => "identify verbs locally", //'split_up_adverbial_clauses_locally' => "split up adverbial clauses locally", 'use_clusters_for_variables' => "use clusters for variables", 'detach_clusters' => "detach_clusters", 'ignore_preposition' => "ignore preposition" ); /* define("SEARCH_OPTIONS_OFF","array( 'ignore_tenses_of_verbs' => false, 'ignore_modal_verbs' => false, 'allow_level_shift' => false, 'ignore_level' => false, 'identify_general_nouns_locally' => false, 'identify_verbs_locally' => false, 'split_up_adverbial_clauses_locally' => "split up adverbial clauses locally" )"); */ //$SEARCH_OPTIONS_TEXT = array('allow_level_shift' => "allow shift to relative clauses of query", // 'ignore_level_distinction' => "ignore level distinction"); ?>