
How to Autocorrect Spelling Mistakes in Swedish Language - Ebbot Blog
Autocorrect spelling mistakes in Swedish language
As human beings, it is simple for us to understand text messages that contain spelling mistakes. But do you know that sometimes Ebbot cannot comprehend messages if there are too many misspelled words? Understanding that typos can be one of the reasons why Ebbot cannot give the right response, our NLP team at Hello Ebbot decided to develop a new feature to autocorrect spelling mistakes, specifically for the Swedish language! Our spellcheck corrector not only considers context to provide better correction, but also has fast performance. In this blog post, we will tell you our little secret to achieving this result 🤖
Introducing Jamspell - a spellcheck library
Jamspell is an open-source spelling mistakes autocorrection library. It is written in C++ but available in many other programming languages by using swig - a software tool which is used to connect libraries written in C or C++ with other languages such as Python, PHP, Javascript...
Furthermore, it is very simple to train a custom model to support the language of your choice. In order to customize Jamspell to a new language, you will need two utf-8 files, one is the alphabet.txt which contains the language's alphabet, and the other one is a corpus of sentences to be trained. Because the purpose of the training process is to teach the model how to spell words correctly, it is recommended to use a corpus with minimal spelling mistakes. In our case, we chose OpenSubtitles as our training corpus, but there are other options to choose from as well, such as Wikipedia or literature documents. Detailed steps to accomplish this can be found on Jamspell's Github.
How Jamspell performs spellchecking in Swedish language
In order to integrate this easily into our applications, our NLP team decided to wrap the model into an API using FastAPI. For security purposes, we unfortunately cannot share the access to the API publicly. But here are some extremely challenging examples which our model successfully corrected, that we would like to show you 👇
Original
- Jdg springwr mwd min hund varjw dag
- Vusstw du toll exemprl att det finns äver 5 000 nåturrrservat i Svetihe?
- Jqg her fortfsrsnde intw fårt min ordwr
Corrected
- Jag springer med min hund varje dag
- Visste du till exempel att det finns över 5 000 naturreservat i Sverige?
- Jag har fortfarande inte fått min order
Now, that's what we call 🪄 magic! We are working on integrating this into Ebbot's skills set, but do you know that we already have a magical dishwasher ready to use? If you want to know more about this special dishwasher, feel free to contact us! See you in our the next magic show... 🧙♀️
More stories

How the EU AI Act will shape the future of service automation
The clock is ticking. The EU AI Act is set to become law, reshaping how artificial intelligence is developed, deployed, and regulated in Europe. For organizations looking to integrate AI solutions, this legislation raises important questions about compliance, accountability, and the choice of AI providers.

Ebbot Achieves ISO 27001 Certification
In 2024, we took on a bold challenge: to earn the internationally recognized ISO 27001 certification. In December, we achieved that goal, marking an important milestone in Ebbot’s commitment to delivering AI-powered service automation with the highest standards of security.

Press release: Gofido first to launch EbbotGPT to customers - Ebbot Blog
Swedish insurance provider Gofido is taking a significant step in its commitment to delivering exceptional customer service by officially launching EbbotGPT. This marks a historic milestone as Gofido becomes the first insurance provider in Sweden to integrate generative AI into its customer support chatbot.

We’re opening our API for EbbotGPT
In celebration of the one-year anniversary of EbbotGPT, we are happy to announce that we are now opening our API for our EU-hosted LLMs, EbbotGPT. This marks a significant milestone in our journey to offer robust AI-driven customer service solutions that are fully compliant with EU data regulations.

From overwhelmed to empowered: GenAI’s role in succeeding with self-service in ITSM
In today’s fast-paced business world, having an efficient internal service management (ITSM) system is more important than ever. But let’s be honest—many ITSM systems are neither user-friendly nor scalable, which ends up making them inefficient. Enter Generative AI (GenAI), a technology that could solve this. But how can we take advantage of this technology in an effective use case without risking security? Let’s break it down.

Ebbot becomes the preferred GenAI partner to renowned chatbot expert Campfire AI
Stockholm, Sweden – July 8, 2024 Campfire AI, a Brussels-based conversational AI consultancy firm, has handpicked Ebbot as its new GenAI partner. From now on, Campfire AI will offer Ebbot’s services to all clients seeking to leverage GenAI in service automation. Ebbot,…

Enento Group chooses Ebbot as strategic AI partner for service automation
Stockholm, Sweden – June 19, 2024 **With a focus on providing a secure GenAI platform for automating service processes at scale, Ebbot has become an attractive partner for enterprises looking to deliver a world class AI service experience. Now signing the Nordic knowledge company [Enento…

Small vs. Large GenAI models – pros & cons
When it comes to generative AI (GenAI) models, size does matter—just maybe not how you'd expect. Both small and large GenAI models have their strengths and weaknesses. Understanding these can help you choose the best model for your needs. Let's break down the pros and cons.🌟 ## The buzz…

Coeo leverages Generative AI to enhance customer experience
coeo Inkassos is rapidly growing and aims to be one of Sweden's largest debt collection agencies in the next five years. Focusing on customer experience as a central strategy, coeo has now set itself apart by becoming the first in the industry to offer 24/7 support with generative AI.

How to make your data sources AI-ready: Step-by-step
Generative AI has revolutionized chatbot training. What once took hours is now completed in minutes. BUT, (there's always a but), the effectiveness of a Generative AI-trained chatbot heavily depends on the quality of its data sources. So, what constitutes a "good" data source for a GenAI chatbot, and what measures can be taken to prepare? Let's find out.

Cross-border service: coeo's live chat breaks down language barriers with a click
The debt collection company coeo Sweden takes its customer service to the next level by introducing an automatic translation feature in its live chat. With the new feature, users can now get real-time support in any language they prefer.

Ebbot Acknowledged by Deloitte as One of the Top 50 Fastest-Growing Technology Companies in Sweden
Stockholm, Sweden, November 2, 2023. Ebbot, providing a conversational AI platform for managing service processes at scale, has been acknowledged by Deloitte as one of the top 50 fastest-growing technology companies in Sweden. ### Background Ebbot,…