douxian3170 2016-06-21 16:01
浏览 35

SpellChecker如何自动生成正确的拼写

So I am trying to implement a spell check for some of the input texfields on a webpage. Mostly for city names and postal codes. I have an idea of how to it's going to work and am researching some algorithms and pspell_check() functions but the question I have is:

These forms are using PHP to submit information. Is it possible to suggest word corrections for a textfield before a user submits the form? specifically without using AJAX.

My thought process is I would use a JS function to check the textfields and compare the typed word to the existing entries in the API. I just can't figure out if it's possible without Using AJAX and without reloading the page.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
    • ¥15 MCNP里如何定义多个源?
    • ¥20 双层网络上信息-疾病传播
    • ¥50 paddlepaddle pinn
    • ¥20 idea运行测试代码报错问题
    • ¥15 网络监控:网络故障告警通知
    • ¥15 django项目运行报编码错误
    • ¥15 STM32驱动继电器
    • ¥15 Windows server update services
    • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏