Sentence

動物によって刃物を教え込む事ができる。

動物(どうぶつ)によって刃物(はもの)(おし)()(こと)ができる。
Some animals can be taught.
Sentence

そのように刃物を振り回すことは危険だ。

そのように刃物(はもの)()(まわ)すことは危険(きけん)だ。
It is dangerous to wield an edged tool in such a way.