1 # This Python file uses the following encoding: utf-8
3 Created on Apr 29, 2011
7 from frame
import framework
, terms
, synonyms
, concepts
, concept_hierarchies
, relations
9 class stupid_terms(terms
):
10 def _get_terms(self
, **state
):
11 """input: 1 domain corpus, 1 general corpus
12 identify term candidates in each (NPs that fit some statistics)
13 remove terms identified in general corpus from domain corpus"""
16 class stupid_synonyms(synonyms
):
17 def _get_synonyms(self
, **state
):
20 class stupid_concepts(concepts
):
21 def _get_concepts(self
, **state
):
24 class stupid_concept_hierarchies(concept_hierarchies
):
25 def _get_concept_hierarchies(self
, **state
):
28 class stupid_relations(relations
):
29 def _get_relations(self
, **state
):
32 class stupid(framework
, stupid_terms
, stupid_synonyms
, stupid_concepts
, stupid_concept_hierarchies
, stupid_relations
):