NNABC PHP extension currently has two functions: Chinese word segmentation function nnabc_fenci(); IP address query function nnabc_ipaddr(). Chinese word segmentation uses a function to directly segment words, making Chinese word segmentation easier and simpler. PHP extension-level IP address query function makes querying IP addresses faster.