質問編集履歴
3
情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -59,3 +59,79 @@
|
|
59
59
|
|
60
60
|
|
61
61
|
ちゃんと動くか確認したいです。お願いします。
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
---追加----
|
68
|
+
|
69
|
+
makeがうまく行かないからでしょうか?
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
makeをすると
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
```ここに言語を入力
|
78
|
+
|
79
|
+
./chunker.h:24:3: error: unknown type name 'crfpp_model_t'
|
80
|
+
|
81
|
+
crfpp_model_t *model_;
|
82
|
+
|
83
|
+
^
|
84
|
+
|
85
|
+
In file included from chunk_learner.cpp:15:
|
86
|
+
|
87
|
+
./ne.h:27:3: error: unknown type name 'crfpp_model_t'
|
88
|
+
|
89
|
+
crfpp_model_t *model_;
|
90
|
+
|
91
|
+
^
|
92
|
+
|
93
|
+
chunk_learner.cpp:113:22: error: cannot initialize a parameter of type
|
94
|
+
|
95
|
+
'CaboCha::Analyzer *' with an rvalue of type 'CaboCha::NE *'
|
96
|
+
|
97
|
+
analyzer.reset(new NE);
|
98
|
+
|
99
|
+
^~~~~~
|
100
|
+
|
101
|
+
./scoped_ptr.h:25:18: note: passing argument to parameter 'p' here
|
102
|
+
|
103
|
+
void reset(T * p = 0) {
|
104
|
+
|
105
|
+
^
|
106
|
+
|
107
|
+
chunk_learner.cpp:116:22: error: cannot initialize a parameter of type
|
108
|
+
|
109
|
+
'CaboCha::Analyzer *' with an rvalue of type 'CaboCha::Chunker *'
|
110
|
+
|
111
|
+
analyzer.reset(new Chunker);
|
112
|
+
|
113
|
+
^~~~~~~~~~~
|
114
|
+
|
115
|
+
./scoped_ptr.h:25:18: note: passing argument to parameter 'p' here
|
116
|
+
|
117
|
+
void reset(T * p = 0) {
|
118
|
+
|
119
|
+
^
|
120
|
+
|
121
|
+
4 errors generated.
|
122
|
+
|
123
|
+
make[2]: *** [chunk_learner.lo] Error 1
|
124
|
+
|
125
|
+
make[1]: *** [all-recursive] Error 1
|
126
|
+
|
127
|
+
make: *** [all] Error 2
|
128
|
+
|
129
|
+
```
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
エラーになってしまいます。
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
昨日からずっと悩んでいるので、、誰か助けてください。
|
2
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,9 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
c = CaboCha.Parser("");
|
23
|
+
# c = CaboCha.Parser("");
|
24
|
+
|
25
|
+
c = CaboCha.Parser()
|
24
26
|
|
25
27
|
|
26
28
|
|
1
記載ミスの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
|
31
|
-
print c.parseToString(
|
31
|
+
print c.parseToString(sentence)
|
32
32
|
|
33
33
|
|
34
34
|
|