How to (grep) similar words ending or not in s?
The idea is to recognize identical words like:
car /cars
house/houses, etc.
Could not solve with look-behinds, etc.
We are working in an interactive grammar (spanish) where practically all the words, at least for our project, form plural with the addition of letter s. (Spanish do not have double ss ending words). Working with plurals is part of the goals.
The copy is a list (single words separated by hard returns already alfabetized):
Dardo
DardoS
Dedo
DedoS
Día
DíaS
Duda
DudaS
It is required that grep identify the singular or the plural when both words are the same.
(Some exceptions like the word Dios/Dioses= God will be resolved by other means)
Thank you!
Similar Messages
-
HT1284 How can I backup word documents and not have them crowd my screen? Thanks.
Hi. How can I backup word documents and not have them crowd my screen? I know, you guessed it. I'm a novice, but not ashamed!
Please explain what you mean when you say backup Word documents crowds your screen.
I don't see any connection between backup and your screen.
Allan -
How can I use word count without it counting the words in the end notes by default?
How can I use word count without it counting the words in the end?
Now I have to highlight the text to get a count.I don't think that is possible, it does what it does.
Peter -
How do you get word count to print at the end of a document in Pages?
How do you get word count to print at the end of a document in Pages?
Pages v5 does not provide a user assignable word count variable. With some AppleScript, and a paste operation from the clipboard, you can have locale punctuated word count in this format: 7,803 — anywhere in your document. The following AppleScript works with Pages '09 v4.3 through Pages v5.5.2 on Yosemite.
I would suggest that you copy paste the following AppleScript into your [Apple] Script Editor and save it (suggestion) wordcnt.applescript. Then, follow this with an option+Save As… and this time set the File format to Script Bundle, or Application with hidden extension — saved to your Desktop. Provided you have a Pages document open, you are then a double-click from the ability to paste your current word count into Pages.
Note: If you have Pages word count display enabled, it will automatically count your pasted value as another word which initially may deceive on true word count at the time the script was run.
AppleScript
--- copy below this line ---
property locale : "en_US.UTF-8" -- In Terminal, use the locale command to see yours
if not ApplicationIsRunning("Pages") then
display dialog "Pages must be running to use this utility."
return quit
end if
tell application "Pages"
tell body text of front document
set wordCnt to count words
-- Don't want punctuated numbers? Remove the single quote from printf format
set the clipboard to (do shell script "export LC_ALL=" & locale & "; printf \"%'d\" " & wordCnt)
end tell
end tell
on ApplicationIsRunning(appName)
tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
return appNameIsRunning
end ApplicationIsRunning -
cant update apps on my mac or iphone4. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it . i can download apps and music. how can i update apps on my mac and iphone 4?
I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
Before you restore or reset, I would try that first. -
I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out what is going on? We have it set on auto renewal so I know its not that we haven't renewed this subscription, because we pay automatically.
Hi olivias,
It sounds like there may be some confusion on your system about what application should be associated with PDF files. You can reset filename associations by following the steps in these articles (depending on your operating system):
How to change the default application for a file type | Macworld
http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
Please let us know if you have additional questions.
Best,
Sara -
I have installed the font Broadway on my computer and it works in Microsoft Word but does not appear in the font list in InDesign. How can I fix this problem?
Start by rebooting the computer. If that doesn't work, search for adobefnt*.lst and delete all instances where * becomes a 2-digit number.
-
Just updated to Lion today, 11/22/11. I did not realize things likes reading a Word document would not be supported. "You cannot open this because PowerPC applications are no longer supported." How am I supposed to read and open Word documents from PC users? Any insight is helpful, thanks!
You have Word 2004 which is PPC based. Lion is not able to execute PPC code. You have to upgrade. Or you can do as I do an open them in Pages, since I refuse to allow anything from Microsloth on my Mac.
Allan -
So, how can I add the red line below all those words, which are not technically correct.
I have tried everything, but nothing works. Red line should come there automatically, but I can't find nothing from settings to do this. Can you guys help me?There isn't any finnish spellcheck in Pages
Inspector palette = Asetukset
I am trying to find out where to get a finnish dictionary that can work in Pages. I am not sure but try this
http://www.jkwchui.com/2010/03/spellchecking-latex-in-macosx/ -
Does the Technical Communication Suite have an installation application similar to the Creative Cloud Suite? If so, how do I get it? If not, how do I upgrade from version 4?
Thank you.Not sure what CCS has that you’re referring to, but TCS5 is out and can be installed via subscription or downloaded installer.
-
I added Lion and lost word!!! Not happy! How can I get word back?
The "genius" at the genius bar suggested I upgrade to Lion in order to sync I-Cloud. He saw my computer and gave me no warnings about Lion
deleting my Word applications. Now I have a project I need to work on and cannot access my documents! Also, I need to change the scroll back since I don't like the reverse mouse scroll that automatically happened with Lion. How can I get Word back?Regarding your other question about scrolling: Lion is really designed with trackpads in mind.
If you don't like the scroll direction then reverse it by un-checking "scroll direction: natural" in either your trackpad or mouse preferences.
You can use any number of applications to open and save Word formatted documents. Some are free. MS Office 11 is not your only choice. -
HT5449 How do I get dictation I know when I want the word period and not a full stop.
How do I get dictation I know when I want the word period and not a full stop.
Try the alternatives: "point," "dot," and/or "full stop." Do any of these options produce a period for you? And, as a different punctuation test, does something such as "comma" work for you?
-
How do you do a search for multiple occurences of the same word in a NOTE?
How do you search for multiiple occurences of a word in NOTES? I seem only to be able to find the first occurence and then it goes into a loop, never past the first occurence.
I want to find all the same words in ONE NOTE. It is a very loong list and I want to find all cccurences of a specific word in that one NOTE when I do a search. I thought I had solved this earlier today but now I can't seem to repeat it. I type in word in the SEARCH box, select the NOTE and then it shows me the FIRST occurence in that note, but only the first,
-
I purchased an album that won't play now that my match subscrription has ended. Not interested in re-subscribing, but I paid for that album. How can I download it again since the cloud icon doesn't display?
Hi,
Does the track play? Did you purchase track from iTunes? Download past purchases - Apple Support
Jim -
When I click on a docx file, it works. Only a problem for older version Word and Excel files. When I click on the link, nothing happens. Word files are not listed in my "applications", but I have no way of adding it.
%AppData% is the name of an environment variable.
On XP that variable points to C:\Documents and Settings\<user>\Application Data\
"Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders, use %APPDATA% in the File name field
See http://kb.mozillazine.org/Show_hidden_files_and_folders
You can use Help > Troubleshooting Information > Profile Directory > Open Containing folder
See also [[Using the Troubleshooting Information page]]
Maybe you are looking for
-
Implementing Sites for a new Single Domain Environment and effects on Exchange
Copied from the Active Directory forums as the suggestion of replies. I didn't find exactly what I was looking for so decided to create my own question to get some direct feedback. Currently we have a single domain environment with two domain control
-
Rebate Agreement manual accruals not updating in agreement
Hello, I am configuring extended rebate agreements and am working with the MANUAL ACCRUAL functionality. I can create a manual accrual from the agreement and sales order type B4 is created and billed as type B4. I can see the impact correctly to th
-
Why can't I see all of my contacts in iCloud?
Cant see all of my contacts in iCloud that are on my iPhone. Why? Is there a way to select which contact are synched...whether from iCloud to iPhone and visa versa? Thanks
-
New computer, how to move songs?
I have a large itunes library on my old laptop and would like to move that library over to my new laptop. What must be done to accomplish this? Thank you
-
Comment envoyer un fichier depuis port serie avec Labview
Bonjour, Je veux envoyer le fichier de configuration au programmateur avec labview mais j'arrive pas à trouver la commande Labview qui me permet d'envoyer un fichier via un port série. Y a t'il une solution? Merci.