» Home » Word » Page 1
How can I use grep to see if my word in a array has a match with list of word in dictionary and extract the exact single word?
by dyarborough in Programming Languages

Thanks for the answers... i am trying the different possibilities with all your answers.
one thing: i could not be that much clearer in asking question to you all, ie. i m applying this RE in my local script/character(similar to Tibetan Script) and not in English word.


foreach my $word (@list)
{
if(grep(/$word/, $dict)) # i have dict in scalar ($dict)

Excel macro to read text file word by word and write every word to a new cell in the same column
by Pennsylvania in Programming Languages

I have a huge txt file with email ids delimited by , (space), or ;, or a combination of these.


I would like to separate these email ids and write them into new cells in just one column, row after row in the excel file.


Excel's delimited import is unable to show all ids as there are only 256 columns. And the number of words I have r


How to make forward-word, backward-word, treat underscore as part of a word?
by Nate Bedortha in Programming Languages

In my C# mode, M-b and M-f are bound to {backward,forward}-word.


But these things stop at underscores, which I use sometimes as a prefix on member variables.


How do I get emacs to treat the underscore as a word character?


Algorithm to remove a character from a word such that the reduced word is still a word in dictionary
by Jim Davis in Programming Languages

Here is the scenario, Given a word remove a single character from a word in every step such that the reduced word is still a word in dictionary. Continue till no characters are left.


Here is the catch:
You need to remove the right character, for eg. in a word there may be two possible characters which could be removed and both may cause the reduced word to be a valid word, but


How do I Make Word My Default Word Processing Program Instead of Word Perfect?
by Asif in Computers
Microsoft Word 2010 and WordPerfect X5, both released in 2010, are two different word processing programs that allow users to format and customize typed documents on a computer. The Microsoft Windows 7 operating system allows users to choose which program will open certain file types as the default program. This feature can be used to change whether Word 2010 or WordPerfect X5 launches when you op

How to read word(or character) on txt file from the last word to the first word in python?
by Roel van Dijk in Programming Languages

Example: I have a file as :
filename1 = "I am a student" (inside filename1 have I am a student )


f = open(filename1)
string = f.read()
spl = re.split('s|(?<!d)[,.](?!d)',string)
f.close

print spl will show:
I am a student , but I need the result as [student a am I]
could you answer me please...
Thanks in advance.


REGEX a word in a paragraph, but not a word containing that word, unless its a plural
by Wonderbread in Programming Languages

I am highlighting words in a body of text.


If I regex "Port" the word "Portuguese" is highlighted too, but I need "Ports" to be highlighted.


Any ideas? I hate regex.


Thanks


java web application to automate mail merge of MS word & produce word files
by jkjambo in Development Tools & Services

we need to make a java web application that calls MS word Mail Merge APIs & that passes:


1 - MS word template file


2- field values for 2 groups (ex: empName , Dept ,Address )


then : produces 2 word documents ( template filled with values)


to be used :
Netbeans , glassfish 3.1 , ubuntu


How do I transfer ranges containing formatting information from pages in a word doc to a new word doc in random order?
by InfiniteLurker in Programming Languages

My wife is a professor, and I found out she's been manually creating randomized versions of her tests (to reduce cheating) by hand for years, along with all of the other faculty in her department. She uses Word 2007 and 2010 to write her tests, so I set about writing a VBA macro to do this tedious process for her.


Her tests include images, lists, and other formatting, so straight t


Algorithm for multiple word matching in a text, count the number of every matched word
by qba73 in Coding

I have noticed that it has solutions for matching multiple words in a given text, such as below:
http://stackoverflow.com/questions/1099985/algorithm-for-multiple-word-matching-in-text


If I want to know exactly the number of appearances of each matched word in the text, my solution is like this:


step 1: using ac-algorithm to obtain the maching words;


ste


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .