Fuzzy stuff

I have just pushed a little backend bugfix onto the MobMap server that fixes a problem which has been there for many months. You might have noticed that the links in quest objective texts that MobMap presents you sometimes lead to the wrong NPCs - usually to some which have a very similar name as the ones you're searching, but nevertheless the link was crap. I know about some quests in the German database which had this problem, but there probably are similar problematic quests in the English database.

The reason for this was some kind of bad design in the component which actually does create those links for you to click - the so-called Quest Text Enhancer. That is essentially a fuzzy string matcher to which a list of all NPCs and a text is given. The QTE then searches the quest text for occurrences of the given NPC names, and because those occurrences quite often dont't match the NPC name exactly (because they are written in plural form for example, while the NPC name is a singular, or because they are "bent", which is often the case in the German language) this search is done "fuzzy" - that means, "Tamed Hyena" for example does not only match "Tamed Hyena", but also similar names like "Tamed Hyenas" (notice the "s" at the end!). There's a rating for how much difference is allowed for a match which again depends on the length of the name, but to get a high matching percentage (especially in texts written in the German language which tends to modify the names more often and more radically than the English language) those ratings can't be set too high. That was the reason why there were some false positives in the mix, which resulted in crappy links in-game, linking to creatures with similar, but unfortunately wrong names.

The part with the "bad design" was this: if the fuzzy search algorithm found a potential match, it immediately created the link, without searching the rest of the NPC list if there were any more matches to be found. So if there were more than one match, it was just a game of luck if the correct match would be checked first or not. This has now been changed: now the whole list is always scanned, collecting all matches on the way and calculating a "similarity coefficient" which mathematically describes the similarity of the NPC name to the occurrence in the text. After the whole list has been searched, the match list is being sorted by this number, and the match with the highest similarity is picked for the link.

Besides that, there was another problem, concerning an NPC with the name "Hemet Nesingwary Jr." which exists in both the English and German versions of the game. That damn NPC had a dot in its name - and dots are considered to mark the end of a sentence by the QTE, not to be a part of a name. Therefore this NPC, if named in a quest text, was never being recognized as "Hemet Nesingwary Jr." - instead, it was recognized as "Hemet Nesingwary", another NPC that unfortunately exists, too. Well, it's logical from a machine's point of view, as "Hemet Nesingwary" seems to be a perfect match, and "Hemet Nesingwary Jr." does not match that good if the dot at the end is not considered to be a part of the NPC name. But of course this leads to confusion if you click that link in-game, expecting to be shown the location of the guy with the "Jr." at the end. This has been fixed, too.


As all of these changes are done in the backend, you won't really have to do anything to profit - you'll get the "less-faulty" links with your next database update (okay, of course you'll have to download that, either comfortably with the MobMapUpdater or manually). All quest texts and comments are being reprocessed right now, so the next database built in a few hours should contain them.

Trackbacks

    No Trackbacks

Comments

Display comments as (Linear | Threaded)

  1. ANDY says:

    Have tried multiple ways to download. Both addon and database off website, Both seperate off website, and also addon off curse.com and database off website. Everytime when i log into wow I get message that the positions is not compatiable with this Mobmap version and to update both. I've delete everything from addon folder and tried multiple times. LoL I should have backed the old Mobmap up now i cant use it at all.

  2. Ivik says:

    Any chance for Russian version?

    and you addon rock hardly

  3. Manu says:

    My Mobmap updater crash every time if i try to upload. Don´t know why, maybe i get here help, hope so.

  4. Slarti says:

    Okay, so I'd first need a log file from you in order to try to track this bug down. That log file's named "debugout.txt", it should be located in your MobMapUpdater installation directory. It's very important that you send me a logfile directly after a crash of the program, to make sure that the stuff right before the crash is logged.

    Please send that log file to slartie@gmx.net, and then I can hopefully find out what's causing this.

  5. Charalambos says:

    The site

  6. Muhkuh says:

    Any News about wotlk Beta Support?

  7. Slarti says:

    A MobMap version fully compatible with WotLK is currently in the works...

  8. denny says:

    i miss the options tap on the mod i wanted to unshow the dots on my map and i noticed that mobmaps tabs are no longer in the map plz bring back the options tab

  9. Ayindi says:

    So nochmal ich... ;)

    Also hab festgestellt, dass es anscheinend immernoch ein Problem mit den Quest Events und der Zuordnung zu den Quests gibt. Auch wenn es ein einzigen Quest Event für ein Quest gibt. Ein Beispiel ist das Quest: "Sammelt die Kugeln" (lvl 67) aus Schergrat. Hier gibt es nur ein Quest Event. Es heißt "Lichtkugeln der Razaani gefangen". Wenn ich es über den Quest Event Frame anklicke, bekomme ich die korrekte Position angezeigt. Wenn ich über das Fragezeichen im Quest gehe bekomme ich die Meldung, dass nichts isoliert werden konnte.

    Wie schon gesagt ich spiele mit deutschem Client.

    Also ich weiß, dass ich das im Prinzip schon mal mit einem anderen Quest gepostet habe, von daher ist das Problem ja bekannt. Ich sammel noch ein bisschen die Questnamen, wenns mir wo auffällt falls dir das hilft. :)


Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5