travis-ci
12906 of 13175 relevant lines covered (97.96%)
1.47 hits per line
1 |
# -*- coding: utf-8 -*-
|
|
2 |
from 臺灣言語工具.系統整合.程式腳本 import 程式腳本 |
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
3 |
from 臺灣言語工具.解析整理.拆文分析器 import 拆文分析器 |
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
4 |
from 臺灣言語工具.解析整理.詞物件網仔 import 詞物件網仔 |
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
5 |
|
|
6 |
|
|
7 |
class 文字辭典: |
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
8 |
_上濟字數 = None
|
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
9 |
|
|
10 |
def 上濟字數(self): |
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
11 |
return self._上濟字數 |
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
12 |
|
|
13 |
def 加檔案的詞(self, 檔名): |
3 only TOX_ENV=單元試驗, TOX_ENV=文本整合試驗, and TOX_ENV=HTS整合試驗 ✔ |
14 |
for 一逝 in 程式腳本._讀檔案(檔名): |
1 only TOX_ENV=單元試驗 ✔ |
15 |
for 詞物件 in 詞物件網仔.網出詞物件(拆文分析器.分詞句物件(一逝)): |
1 only TOX_ENV=單元試驗 ✔ |
16 |
self.加詞(詞物件)
|
1 only TOX_ENV=單元試驗 ✔ |