jsparky.review
クラス ReviewManager

java.lang.Object
  拡張jsparky.review.ReviewManager

public class ReviewManager
extends java.lang.Object


コンストラクタの概要
ReviewManager()
           
 
メソッドの概要
 void addPropositionElement(Aggregatable a, java.util.List lis)
          find propositions under an aggregatable node
 org.w3c.dom.Document cloneDSS(org.w3c.dom.Document dss)
           
 void fillDSSWithContent(org.w3c.dom.Document dss, Content c)
          fill dss with content
 java.util.List getContentList(RSTElement rst_elem)
          get list of contents of a rst_plan (possibly useful for relaxed match
 org.w3c.dom.Document getDSSForAggregatable(Aggregatable a1, Aggregatable a2, boolean strict)
           
 org.w3c.dom.Document getDSSForAggregatable(Aggregatable a, boolean strict)
          getDSSForAggregatable
 org.w3c.dom.Document getDSSForContent(Content c, boolean strict)
          utility to get dss
 java.util.List getDSSList(Content c, boolean strict)
           
 boolean hasReviewElement(AggregatedElement aelem)
          has modified
 boolean hasReviewElement(org.w3c.dom.Document dss)
           
 void loadDSS(java.lang.String dir)
          load user review dss
 void markSource(org.w3c.dom.Document dss, java.lang.String src)
          past tense to present tenst
 boolean match(Content c1, Content c2, boolean strict)
          strict means all the content should match; else comparison without the restaurant name
 void setLowerCase(org.w3c.dom.Document dss)
          past lexeme to lowercase in some cases
 void setLowerCase(org.w3c.dom.Element parent)
           
 void setRealizer(Realizer realizer)
           
 void setTense(org.w3c.dom.Document dss)
          past tense to present tenst
 void setTense(org.w3c.dom.Element parent)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ReviewManager

public ReviewManager()
メソッドの詳細

setRealizer

public void setRealizer(Realizer realizer)

loadDSS

public void loadDSS(java.lang.String dir)
load user review dss


getDSSForContent

public org.w3c.dom.Document getDSSForContent(Content c,
                                             boolean strict)
                                      throws DSSNotFoundException
utility to get dss

例外:
DSSNotFoundException

cloneDSS

public org.w3c.dom.Document cloneDSS(org.w3c.dom.Document dss)

getDSSForAggregatable

public org.w3c.dom.Document getDSSForAggregatable(Aggregatable a,
                                                  boolean strict)
                                           throws DSSNotFoundException
getDSSForAggregatable

例外:
DSSNotFoundException

getDSSForAggregatable

public org.w3c.dom.Document getDSSForAggregatable(Aggregatable a1,
                                                  Aggregatable a2,
                                                  boolean strict)
                                           throws DSSNotFoundException
例外:
DSSNotFoundException

fillDSSWithContent

public void fillDSSWithContent(org.w3c.dom.Document dss,
                               Content c)
fill dss with content


addPropositionElement

public void addPropositionElement(Aggregatable a,
                                  java.util.List lis)
find propositions under an aggregatable node


getContentList

public java.util.List getContentList(RSTElement rst_elem)
get list of contents of a rst_plan (possibly useful for relaxed match


setTense

public void setTense(org.w3c.dom.Document dss)
past tense to present tenst


setTense

public void setTense(org.w3c.dom.Element parent)

markSource

public void markSource(org.w3c.dom.Document dss,
                       java.lang.String src)
past tense to present tenst


setLowerCase

public void setLowerCase(org.w3c.dom.Document dss)
past lexeme to lowercase in some cases


setLowerCase

public void setLowerCase(org.w3c.dom.Element parent)

getDSSList

public java.util.List getDSSList(Content c,
                                 boolean strict)

match

public boolean match(Content c1,
                     Content c2,
                     boolean strict)
strict means all the content should match; else comparison without the restaurant name


hasReviewElement

public boolean hasReviewElement(AggregatedElement aelem)
has modified


hasReviewElement

public boolean hasReviewElement(org.w3c.dom.Document dss)