TA的每日心情 | 开心 2018-1-27 00:16 |
---|
签到天数: 1 天 [LV.1]初来乍到
|

楼主 |
发表于 2015-6-29 11:48:29
|
显示全部楼层
多谢楼主的大大!非常感谢!!
: F: v$ y( ^( e! Z9 r按照大大的方法成功啦!感谢感谢!
; j$ t! U8 n+ E. H$ p7 H0 {8 e" q, d
# j- T) \8 b/ ^" q/ S
另外那个dictconv.exe的命令转换babylon的BGL的时候如何写呢?看了下说明还是不怎么明白。
1 F# Y( F' b1 g) y. f% [! o; B. u3 V
1 P0 f: X, U& a* P2 F$ o6 z. U
! {+ K' S' j: B$ r3 @0 f' M
Usage: dictconv [-hv] -o OUTPUT_FILE INPUT_FILE8 m3 _$ J- F' h" k: f" d; W! D
% r7 O- Y% Y: u$ a. x( G, O3 tConvert INPUT_FILE dictionary to OUTPUT_FILE dictionary.
6 `8 N( R" z q yThe extension of file determines the dictionary type.1 F, t7 Y B2 x# n* o" ?
: A9 ~( X8 M5 v6 Q -o OUTPUT_FILE path to target dictionary' t5 X4 C; M. |
INPUT_FILE path to source dictionary! W7 `% {4 z o. E2 R' v
-h print help message and exit
& z8 i% C4 c# b5 Z% o -? print help message and exit
5 Y- N5 _, [+ G# u& F -v shows the version information and exit# J* c, B) Q8 d* o
; @# z: o8 w7 z6 i# v
INPUT_FILE can be:
Q- C+ c2 r$ L+ Q6 P4 v m Babylon Glossary (.bgl)( P1 V! o- w+ c
Freedict dictionary (.tei)
8 [, h0 I, p o# D$ p' @& \; m Sdictionary dictionary (.dct)- }* ]' v, }, m, H7 ?7 }
StarDict dictionary (.ifo)3 I4 M, E& J" I/ j, {% D( y4 E6 I' S
9 n B; m+ R. i- \) o
OUTPUT_FILE can be:
. a9 C7 H" S+ `/ F' L/ [ DICT dictionary (.index)
: o% G4 [2 K; J( r, F+ }. B PlainText dictionary (.dic)4 k3 m: p. L6 a/ Q
StarDict dictionary (.ifo)) w8 j2 X4 @4 A) c
/ h0 N/ S, m0 c" e3 T0 G
0 I! Q) m+ f6 S9 O$ F/ xE:\makedict>dictconv.exe -o stardict Merriam_Webster_Advanced_Learners.BGL
, i0 ^% i6 ~- qYou should specify a valid output file.
+ D1 y6 m" N: Y" R2 |, D
. Z' ]& x* o( e5 ~+ S) T" QE:\makedict>dictconv.exe -o 1.ifo Merriam_Webster_Advanced_Learners.BGL. g8 [# t7 \: s; L# {
terminate called after throwing an instance of 'std::out_of_range'- M% i0 o# J E$ [0 `& T/ L! h
what(): basic_string::compare, f7 |' K& E* C
1 [sig] dictconv 11696 open_stackdumpfile: Dumping stack trace to dictco
/ x2 H" ^$ f# x i7 t; N.exe.stackdump
. [" ^" B& U, T* W$ l3 I1 w4 t3 `; u/ C( [: S* u- r" L% x
E:\makedict>
& T& |4 }& m' b2 {! T
$ R& e5 K$ m. T8 g0 `
/ j! r: b! D0 r7 Q% ^! G胡乱尝试了几次还是不成功,烦请大大一并赐教,多谢。. t' ]+ t0 Q" p2 k
|
|