royaltca
Pro
Posts: 33
Joined: Mon Mar 30, 2015 5:18 pm

Reverse Mapping

Mon Mar 30, 2015 8:36 pm

Hello, I have a feature Request/Suggestion. I use SIML language to create Polish Chatbot. In our language nouns have 7 forms/flexions. It would be a great feature for me to use some function to get base form of the word. I mean I'll have 7 Maps with popular words that can convert them from base to desired form and vice versa. The only way I can do it now is to create 42 Maps to convert one to another, or at least 12 to convert base->final and vice versa, which makes me cry.

User avatar
Fantom
Help & Support
Posts: 320
Joined: Fri Oct 25, 2013 9:20 pm

Re: Reverse Mapping

Tue Mar 31, 2015 1:16 am

:) this is a really useful suggestion and will reduce the size of many maps. Like "ordinal2number" and "number2ordinal" and many others.

royaltca
Pro
Posts: 33
Joined: Mon Mar 30, 2015 5:18 pm

Re: Reverse Mapping

Tue Mar 31, 2015 1:29 am

Yes, that's what I mean, do you think it's possible?

User avatar
Fantom
Help & Support
Posts: 320
Joined: Fri Oct 25, 2013 9:20 pm

Re: Reverse Mapping

Tue Mar 31, 2015 1:35 am

In SIML 1.0 this feature is not added because Maps are one-to-one and are super fast but I think this feature can be easily added because it will not violate any of the existing specification. I will try to get the developers implement this 8-)

royaltca
Pro
Posts: 33
Joined: Mon Mar 30, 2015 5:18 pm

Re: Reverse Mapping

Tue Mar 31, 2015 2:45 am

It would be cool addition to the existing possibilities of the SIML, especially for project which is map dependent like mine. The other possibility could be a tool, which can generate Reversed Map from the existing one.

User avatar
Fantom
Help & Support
Posts: 320
Joined: Fri Oct 25, 2013 9:20 pm

Re: Reverse Mapping

Sun Apr 12, 2015 3:13 pm

Use "Reverse" attribute and specify a new name for the reversed map as mentioned in the SIML Wiki - Map

Return to “Feature Request and Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests