From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80826 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Find too long sentences Date: Fri, 15 Feb 2013 13:38:43 +0100 Message-ID: <511E2C53.6030309@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360931974 18643 80.91.229.3 (15 Feb 2013 12:39:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2013 12:39:34 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 15 13:39:52 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U6KZw-0004t3-Du for gctc-ntg-context-518@m.gmane.org; Fri, 15 Feb 2013 13:39:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AEF17101F2; Fri, 15 Feb 2013 13:39:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZOs5r8sXJBdG; Fri, 15 Feb 2013 13:39:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 47F72101E3; Fri, 15 Feb 2013 13:39:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8DFF101E3 for ; Fri, 15 Feb 2013 13:39:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id byDlMcocPuVt for ; Fri, 15 Feb 2013 13:39:11 +0100 (CET) Original-Received: from submission1-ams.mf.surf.net (submission1-ams.mf.surf.net [192.87.102.68]) by balder.ntg.nl (Postfix) with ESMTP id 67E26101E0 for ; Fri, 15 Feb 2013 13:39:11 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams-v6.mf.surf.net [IPv6:2001:610:1:80ab:192:87:102:69]) by submission1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1FCdBxu012803 for ; Fri, 15 Feb 2013 13:39:11 +0100 Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1FCd49F003174 for ; Fri, 15 Feb 2013 13:39:10 +0100 Original-Received: from [192.168.0.12] (77-22-151-102-dynip.superkabel.de [77.22.151.102]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LaacB-1UkqZj0jzr-00m8ip; Fri, 15 Feb 2013 13:39:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 X-Provags-ID: V02:K0:Shh3G09Ltb7cGQw5Y9Ixu/WDUQkIFgBshvzB+acWOea pSOBkGES18HgwfwtIpxFlcWeItgR/4H5MQCo+BL2GJFV/Gnrws 2Q2mc8+y0zR7VkK7Q4pRkkAGPXJ7f65mSGQTPgf2i2uBwNsTuq fBixgtD58FVXFvqfDGCU1F5U1Sqd7SIPgR355JH1yPlO6a0Fne Iwxa2d/1a+vj1HvP3/qnaKS0Cyzqnw27ZouK453itwMGYx5mDQ wDZAnHH3QzhgGc+FXigaeILlkT3QZHNp408PBvDsj/ZR+iecRf Suk4De7CDcNSerUWZ93O2gNGjXOovVD/LTyGn1gnIwLu2rPMzh 46thqOYjD9D39uYO+WEo= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.126.171; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NJ0AD4Gn - 9e3c17db4cdc - 20130215 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80826 Archived-At: Good Friday there, working on a book with many too long sentences, I got the following idea/question: Is it possible to recognize the length of a sentence, and to let context show in the pdf, if there is a too long sentence. For example I am thinking of an command like \version[longsentence,15] which sets an symbol like "*" in the margin, if a sentence has more than 15 words. First, correct sentence-regonition could be a task: It is not enough to count the words between two dots, because of abbreviations. But there is probably a known algorithm for handling those problems. I think a feature like this could be interesting for context (and for my work :D) Thanks for you comments Huseyin ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________