user-experience

Basic NLP in CoffeeScript or JavaScript — Punkt tokenizaton, simple trained Bayes models — where to start? [closed]

拜拜、爱过 提交于 2019-12-03 13:03:33
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 10 months ago . My current web-app project calls for a little NLP: Tokenizing text into sentences, via Punkt and similar; Breaking down the longer sentences by subordinate clause (often it’s on commas except when it’s not) A Bayesian model fit for chunking paragraphs with an even feel, no

Add Text Hint to Bootstrap Navbar Toggle Button on Mobile-View

佐手、 提交于 2019-12-03 12:03:34
问题 Some tests have shown that the "hamburger" button for collapsable menus on mobile devices are mysteries to users and I would like to add the word "Menu" next to my Bootstrap menu button as seen in mobile-view. For further reading check out this article: 'The Hamburger is Bad for You': http://mor10.com/hamburger-bad/ Here is the basic Bootstrap Code: <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <!-- Represents navbar collapsed menu on

When should i validate in-app purchase transaction receipt?

点点圈 提交于 2019-12-03 11:13:23
问题 I mean, should my steps be? 1) Get SKPaymentTransactionStatePurchased 2) Remove it from SKPaymentQueue and provide the content by [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; 3) Validate the receipt and then, if it's invalid, block the content i've just provided Or should i change 2nd step to 3rd instead? 1) Get SKPaymentTransactionStatePurchased 2) Validate the receipt and then, if it's invalid, dont't provide content 3) Remove it from SKPaymentQueue anyway [

UX question: is better to have “serious delete” or have “trash”

痞子三分冷 提交于 2019-12-03 10:56:26
I am developing an application that allows for a user to manage some individual data points. One of the things that my users will want to do is "delete" but what should that mean? For a web application is it better to present a user with the option to have serious delete or to use a "trash" system? Under "serious delete" (would love to know if there is a better name for this...) you click "delete" and then the user is warned "this is final and tragic action. Once you do this you will not be able to get -insert data point name here- back, even if you are crying..." Then if they click delete...

Where do I find the icons / animations recommended in the Windows 7 UX guide?

a 夏天 提交于 2019-12-03 08:57:56
The Windows 7 UX guide has nice illustrations and examples of icons, but I really can't find them in the SDK. Are they hiding somewhere, or are they not available ? If you are talking about the common UI icons, then you are supposed to get them programmatically. For instance, you can use var errIcon: HICON; begin errIcon := LoadIcon(0, IDI_ERROR); DrawIcon(Canvas.Handle, 10, 10, errIcon), (Delphi code) to draw an error icon. See LoadIcon , DrawIcon at MSDN. You might also wish to study STATIC controls. To draw other visual elements, you need to use the visual themes API, e.g. the

RTL Support: Disabling it only for specific UI components

五迷三道 提交于 2019-12-03 08:14:25
问题 I have a custom video player Activity. I am forced to enable RTL Support in my Application. But doing so will result in a Right-To-Left aligned ProgressBar. (And that looks ugly) I want my ProgressBar to stay LTR in my RTL enabled Application. Is there any solution? P.S. I am using Android 4.2.2 回答1: Okay there is a simple solution for 4.2 and upper: You can set the android:layoutDirection property in XML, it can have either rtl or ltr values. The property overrides android:supportsRtl

Scroll page on text input focus for mobile devices?

倖福魔咒の 提交于 2019-12-03 07:20:58
问题 Im making a mobile optimised site with a text input which filters a list as you type. Its similar to this: http://jquerymobile.com/test/docs/lists/lists-search.html For phones, it would be a usability benefit if when you selected the input the page scrolled down so the input was at the top of the page. That way as much of the list below would be visible as you type. Is this possible and/or does anyone have experience doing it? Thanks 回答1: Agreed - that'd be nice for usability. If you're using

Basic NLP in CoffeeScript or JavaScript — Punkt tokenizaton, simple trained Bayes models — where to start? [closed]

若如初见. 提交于 2019-12-03 03:15:16
My current web-app project calls for a little NLP: Tokenizing text into sentences, via Punkt and similar; Breaking down the longer sentences by subordinate clause (often it’s on commas except when it’s not) A Bayesian model fit for chunking paragraphs with an even feel, no orphans or widows and minimal awkward splits (maybe) ... which much of that is a childishly easy task if you’ve got NLTK — which I do, sort of: the app backend is Django on Tornado; you’d think doing these things would be a non-issue. However, I’ve got to interactively provide the user feedback for which the tokenizers are

Add Text Hint to Bootstrap Navbar Toggle Button on Mobile-View

自闭症网瘾萝莉.ら 提交于 2019-12-03 02:40:38
Some tests have shown that the "hamburger" button for collapsable menus on mobile devices are mysteries to users and I would like to add the word "Menu" next to my Bootstrap menu button as seen in mobile-view. For further reading check out this article: 'The Hamburger is Bad for You': http://mor10.com/hamburger-bad/ Here is the basic Bootstrap Code: <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <!-- Represents navbar collapsed menu on smaller screens --> <span class="sr-only">Toggle navigation</span> <!-- 3 horizontal lines on small screen

How to implement a limited feature rollout (language agnostic) to your users?

南楼画角 提交于 2019-12-03 02:36:30
I would like to know some common or best practices of rolling out a new website feature to a select group of the userbase. The users could be, for example, based solely on a percentage of your overall user base (10%). The rollout should be customizable (configurable) and support any number of features. It would also be useful to associate rollouts to specific user roles or privileges (ACL). So, in essence, what is an architecture that would scale reasonably well? As for the language agnostic portion, you can either provide pseudo-code, general concepts or ideas, or snippets from your preferred