• 沒有找到結果。

第五章 實驗結果與分析

A.5 財經新聞Ontology

能源 石油 黃金 財經

政府機關

財政部

經建會 經發會

股市 股票 股價 上市 上櫃

匯市

期貨

法人 三大法人

投信 外資 投資信托

自營商

類股 水泥類股 食品類股 塑膠類股 紡織類股 電機類股 電器類股 化學類股 玻璃類股 紙類類股 鋼鐵類股 橡膠類股 汽車類股 電子類股 營建類股 運輸類股 觀光類股 金融類股 百貨類股 科技類股 其他類股

公司 企業 公會 董事長 董事會 資本額

財務報表

淨利 每股盈餘

金融業 儲蓄/存款 利率/利息 放款/貸款 匯款 融資 金融商品

漁會

國稅局 統一發票 稅捐稽徵處

銀行

信用卡 現金卡

壽險業 保險 人壽保險 產物保險 保險公司

農會

信用合作社 外匯

美元 歐元 日圓 法郎 英磅 新台幣

基金

指數 那斯達克 道瓊指數 恆生指數 加權指數 摩根指數

投資人

分析師 股東

投資理財 物價

消費者

金融控股公司 信托投資公司 票券金融公司

郵局

證券業 證券交易所

附錄 B

B.1 文件前處理網路服務之描述檔(WSDL 文件)

服務網址:

Http://140.116.247.14/text_classification/text_classification.asmx?op=autotag

WSDL 文件:

<?xml version="1.0" encoding="utf-8" ?>

- <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema"

xmlns:s0="http://tempuri.org/text_classification/Service1"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"

xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

targetNamespace="http://tempuri.org/text_classification/Service1"

xmlns="http://schemas.xmlsoap.org/wsdl/">

- <types>

- <s:schema elementFormDefault="qualified"

targetNamespace="http://tempuri.org/text_classification/Service1">

- <s:element name="autotag">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="webstring"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="autotagResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="autotagResult"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="NewsClassificaion">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="webstring"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="NewsClassificaionResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1"

name="NewsClassificaionResult" type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

</s:schema>

</types>

- <message name="autotagSoapIn">

<part name="parameters" element="s0:autotag" />

</message>

- <message name="autotagSoapOut">

<part name="parameters" element="s0:autotagResponse" />

</message>

- <message name="NewsClassificaionSoapIn">

<part name="parameters" element="s0:NewsClassificaion" />

</message>

- <message name="NewsClassificaionSoapOut">

<part name="parameters" element="s0:NewsClassificaionResponse" />

</message>

- <portType name="Service1Soap">

- <operation name="autotag">

<input message="s0:autotagSoapIn" />

<output message="s0:autotagSoapOut" />

</operation>

- <operation name="NewsClassificaion">

<input message="s0:NewsClassificaionSoapIn" />

<output message="s0:NewsClassificaionSoapOut" />

</operation>

</portType>

- <binding name="Service1Soap" type="s0:Service1Soap">

<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />

- <operation name="autotag">

<soap:operation soapAction="http://tempuri.org/text_classification/Service1/autotag"

style="document" />

- <input>

<soap:body use="literal" />

</input>

- <output>

<soap:body use="literal" />

</output>

</operation>

- <operation name="NewsClassificaion">

<soap:operation

soapAction="http://tempuri.org/text_classification/Service1/NewsClassificaion"

style="document" />

- <input>

<soap:body use="literal" />

</input>

- <output>

<soap:body use="literal" />

</output>

</operation>

</binding>

- <service name="Service1">

- <port name="Service1Soap" binding="s0:Service1Soap">

<soap:address

location="http://rainbow.csie.ncku.edu.tw/text_classification/text_classification.as mx" />

</port>

</service>

</definitions>

B.2 文件分類網路服務的描述檔(WSDL 文件)

服務網址:

Http://140.116.247.14/fuzzyclassification/service1.asmx?op=SRS

WSDL 文件:

<?xml version="1.0" encoding="utf-8" ?>

- <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema"

xmlns:s0="http://tempuri.org/FuzzyClassification/Service1"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"

xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

targetNamespace="http://tempuri.org/FuzzyClassification/Service1"

xmlns="http://schemas.xmlsoap.org/wsdl/">

- <types>

- <s:schema elementFormDefault="qualified"

targetNamespace="http://tempuri.org/FuzzyClassification/Service1">

- <s:element name="SRS">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="document"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="SRSResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="SRSResult"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="FuzzyClassificationAgent">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="document"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="FuzzyClassificationAgentResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1"

name="FuzzyClassificationAgentResult" type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="FuzzyClassificationAgentThreshold">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="document"

type="s:string" />

<s:element minOccurs="1" maxOccurs="1" name="Threshold"

type="s:double" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="FuzzyClassificationAgentThresholdResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1"

name="FuzzyClassificationAgentThresholdResult" type="s:string"

/>

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="Similarity">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="document"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="SimilarityResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="SimilarityResult"

type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

</s:schema>

</types>

- <message name="SRSSoapIn">

<part name="parameters" element="s0:SRS" />

</message>

- <message name="SRSSoapOut">

<part name="parameters" element="s0:SRSResponse" />

</message>

- <message name="FuzzyClassificationAgentSoapIn">

<part name="parameters" element="s0:FuzzyClassificationAgent" />

</message>

- <message name="FuzzyClassificationAgentSoapOut">

<part name="parameters" element="s0:FuzzyClassificationAgentResponse" />

</message>

- <message name="FuzzyClassificationAgentThresholdSoapIn">

<part name="parameters" element="s0:FuzzyClassificationAgentThreshold" />

</message>

- <message name="FuzzyClassificationAgentThresholdSoapOut">

<part name="parameters" element="s0:FuzzyClassificationAgentThresholdResponse" />

</message>

- <message name="SimilaritySoapIn">

<part name="parameters" element="s0:Similarity" />

</message>

- <message name="SimilaritySoapOut">

<part name="parameters" element="s0:SimilarityResponse" />

</message>

- <portType name="Service1Soap">

- <operation name="SRS">

<input message="s0:SRSSoapIn" />

<output message="s0:SRSSoapOut" />

</operation>

- <operation name="FuzzyClassificationAgent">

<input message="s0:FuzzyClassificationAgentSoapIn" />

<output message="s0:FuzzyClassificationAgentSoapOut" />

</operation>

- <operation name="FuzzyClassificationAgentThreshold">

<input message="s0:FuzzyClassificationAgentThresholdSoapIn" />

<output message="s0:FuzzyClassificationAgentThresholdSoapOut" />

</operation>

- <operation name="Similarity">

<input message="s0:SimilaritySoapIn" />

<output message="s0:SimilaritySoapOut" />

</operation>

</portType>

- <binding name="Service1Soap" type="s0:Service1Soap">

<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />

- <operation name="SRS">

<soap:operation soapAction="http://tempuri.org/FuzzyClassification/Service1/SRS"

style="document" />

- <input>

<soap:body use="literal" />

</input>

- <output>

<soap:body use="literal" />

</output>

</operation>

- <operation name="FuzzyClassificationAgent">

<soap:operation

soapAction="http://tempuri.org/FuzzyClassification/Service1/FuzzyClassificationAge nt" style="document" />

- <input>

<soap:body use="literal" />

</input>

- <output>

<soap:body use="literal" />

</output>

</operation>

- <operation name="FuzzyClassificationAgentThreshold">

<soap:operation

soapAction="http://tempuri.org/FuzzyClassification/Service1/FuzzyClassificationAge ntThreshold" style="document" />

- <input>

<soap:body use="literal" />

</input>

- <output>

<soap:body use="literal" />

</output>

</operation>

相關文件