Input text on UIImageView
Is it possible to allow user input text on a UIImageView, just like the text tool in painter? I cannot find any resource on this topic? ...
Is it possible to allow user input text on a UIImageView, just like the text tool in painter? I cannot find any resource on this topic? ...
I want to select some values from a table . I want a text output . Now what iam doing is iam writing a procedure to convert the selected values into text . But its really time consuming . Is there anythng , means any system functions or sp's in SQL to implement this....? ...
Does anyone know of a good ocr that is able to convert this image into text? I tried tesseract but it didn't work out the way I expected. ...
I'm looking for a text editor that can show me the actual carriage returns and newlines. E.g. if I save this string: "This\rIs\r\nA\nString" Instead of showing This Is A String I'm looking for some text editor which will show This\rIs\r\nA\nString I believe a problem with my text-file parsing in a certain program is being caused ...
I need identify which file is binary and which is a text in a directory. I tried use mimetypes but it isnt a good idea in my case because it cant identify all files mimes, and I have strangers ones here... I just need know, binary or text. Simple ? But I couldn´t find a solution... Thanks ...
I wanted to create a text based browser game, so how should I go about? I can do programming in asp or jsp or php that is not a barrier, but I am unaware of what steps that one needs to follow while attempting to make such games. So please guide me. please also recommend me a programming language for making the same. ...
Hi, What is the best way to parse large texts (5000 words and more), searching names, that are stored in a database? The texts will be multi lingual. My first idea is a rather naive approach, taking all words beginning with a big letter and compare them against the database. But this tends to fail in texts containing lowercase letters ...
Any suggestion is highly appreciated. ...
I'm looking for an algorithm (or some other technique) to read the actual content of news articles on websites and ignore anything else on the page. In a nutshell, I'm reading an RSS feed programatically from Google News. I'm interested in scraping the actual content of the underlying articles. On my first attempt I have the URLs from th...
Hi, i'm struggling with this: i'm building a table-like image. All goes well, but i can't get this to work: i want to place some text at x,y: 10,10, but want to right align it in an area of 40x40. Why? because they are numbers. When i draw text it's ok to place it at 10,10; it will by default be placed at 10,10 and thus be left-aligned....
I am working on a somewhat large corpus with articles numbering the tens of thousands. I am currently using PDFBox to extract with various success, and I am looking for a way to programatically check each file to see if the extraction was moderately successful or not. I'm currently thinking of running a spellchecker on each of them, but ...
I have a function which takes two strings and gives out the cosine similarity value which shows the relationship between both texts. If I want to compare 75 texts with each other, I need to make 5,625 single comparisons to have all texts compared with each other. Is there a way to reduce this number of comparisons? For example sparse m...
I have a text file like this: Apple Orange Orange Banana Banana Orange Banana Orange Apple Orange I want to produce the following output after running a bash shell script: Apple: 2 Orange: 5 Banana: 3 It's pretty standard stuff if I use a full blown language like Java/C++ etc but what is the quickest way to do it with a shell scrip...
I want to write a single, bold red line in my application using Qt. As far as I understand, I would create a QLabel, set its textFormat to rich text and give it a rich text string to display: QLabel *warning = new QLabel; warning->setTextFormat(Qt::RichText); warning->setText("{\\rtf1\\ansi\\ansicpg1252 {\\fonttbl\\f0\\fswiss\\fcharset...
Dear all, I need to apply an SQL query to CSV files (comma-separated text files). My SQL is predefined from another tool, and is not eligible to change. It may contain embedded selects and table aliases in the FROM part. For my task I have found two open-source (this is a project requirement) libraries that provide JDBC drivers: CsvJ...
Hi, for a Windows application I need to read in fixed block files which need to be splitted in fields. I would like to this like in excel or openoffice where I have a preview of the file and can graphically define where the line should be splitted. Does anyone know some control for .net which supports this, or any sample code where th...
I'm trying to income data from a MSSQL (2005) table to MYSQL (5) table, using SSIS, all fields insert correctly. Except one field that his type is TEXT in MSSQL to MYSQL TEXT field, and always this field is get NULL ! ...
I found myself having to remove the first line of a string quite often while working on a text parser in C#. I put together a simple function to do that for me, but coming from a PHP background, I have no idea where to put it since I can't define a function outside a class. What's a customary way of doing that in .NET? Do I create a stat...
Does anyone know how to create an asp .net label control that is orientated in 90 degrees clockwise Right now the way I do it is using tag like this <td style="font-size: 13px; width: 20px; text-align: center; vertical-align: bottom;"> <asp:Label ID="lbl1" runat="server" Text="日" /><br /> <asp:Label ID="lbl2" runat...
i have some part of text with html tags , for example <b>something</b> i select some part of text for example "some". with getSelection().getRangeAt(0); i get position of caret (textcursor), so i know which part of text i've selected. i have startOffset and endOffset. but problem is, that startOffset and endOffset ignores html ta...