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