开发者

English grammar parsing in PHP (Link Grammar)

开发者 https://www.devze.com 2023-01-04 05:49 出处:网络
Is there any way to use the Link Grammar or AbiSource grammar checker in PHP (or C# but I\'d prefer php)? I need to have a tree structure for English sentences. 开发者_开发问答Any ideas? The only thin

Is there any way to use the Link Grammar or AbiSource grammar checker in PHP (or C# but I'd prefer php)? I need to have a tree structure for English sentences. 开发者_开发问答Any ideas? The only things I found were in C and I can't use them on a shared host.


You could use SharpNLP, which does phrase-structure parsing.

Link Grammar doesn't have PHP bindings (or C# bindings). You'd have to write your own bindings. And Link Grammar is written in C, so if you can't put your own C code on a shared host, then you can't use Link Grammar.

0

精彩评论

暂无评论...
验证码 换一张
取 消