Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100679

Re: Catogorising strings into random versus non-random

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: Catogorising strings into random versus non-random
Date Mon, 21 Dec 2015 09:49:55 -0700
Lines 8
Message-ID <mailman.33.1450716637.2237.python-list@python.org> (permalink)
References <56776b9d$0$1615$c3e8da3$5496439d@news.astraweb.com> <oYVdy.22469$Hz3.17030@fx43.iad>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de vp9CC1OO7I0ZSjjyQnY8LgDMXu5JeYYKkJpjMitFiLIw==
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'source.': 0.05; '21,': 0.07; 'trailing': 0.07; 'finite': 0.09; 'subject:into': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:non': 0.16; 'subject:random': 0.16; 'subject:versus': 0.16; 'underscores': 0.16; 'wrote:': 0.16; '2015': 0.20; 'machine': 0.21; 'am,': 0.23; 'dec': 0.23; 'replacing': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'message-id:@mail.gmail.com': 0.27; 'transition': 0.27; 'separated': 0.29; "i'd": 0.31; 'received:google.com': 0.35; 'text': 0.35; 'something': 0.35; 'received:209.85': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'expect': 0.37; 'received:209': 0.38; 'mean': 0.38; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'score': 0.76; 'smith': 0.76; 'sounds': 0.76; 'matrix.': 0.84; 'to:name:python': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=K0kTy2jE+CjbB7IWDIApcoavP0koxHJFsyrJruCb1VA=; b=rlvzf412Sqd28q0wnajvPPeFpbmaVM/FkKq8/D66eCQDFB+iZSAUCYUlJAoqtWDdX1 DmDuwYk0q0opowBf4n6PQbGnmYFonhxjAvrU/joJMKWfJN7hD82Pb6U15kGG5QaTQyuN a+BvxxABQENvXxrAAuu0glGidpFLAYqKWfDs2eW8x6IQBA7SuNXPitxbLK6RCr8SkMYH 9mmAxjPdpbk6Fi/rt62qiSlK9hYBlPXCuhs0FcBySXBk2UwotFRmxjkkP1paUCQgATcN RG3w8MYJ7zMtNN+aylxP5K8GAFmjb7DTl2bE8Vd0mWVU8CmXn1a6XHGJAjDVMRK2dFEX N1Eg==
X-Received by 10.107.11.68 with SMTP id v65mr19870160ioi.188.1450716634704; Mon, 21 Dec 2015 08:50:34 -0800 (PST)
In-Reply-To <oYVdy.22469$Hz3.17030@fx43.iad>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:100679

Show key headers only | View raw


On Mon, Dec 21, 2015 at 9:40 AM, duncan smith <duncan@invalid.invalid> wrote:
> Finite state machine / transition matrix. Learn from some English text
> source. Then process your strings by lower casing, replacing underscores
> with spaces, removing trailing numeric characters etc. Base your score
> on something like the mean transition probability. I'd expect to see two
> pretty well separated groups of scores.

Sounds like a case for a Hidden Markov Model.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Catogorising strings into random versus non-random Steven D'Aprano <steve@pearwood.info> - 2015-12-21 14:01 +1100
  Categorising strings on meaningful–meaningless spectrum (was: Catogorising strings into random versus non-random) Ben Finney <ben+python@benfinney.id.au> - 2015-12-21 14:45 +1100
    Re: Categorising strings on meaningful–meaningless spectrum (was: Catogorising strings into random versus non-random) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-12-21 19:47 +1100
  Re: Catogorising strings into random versus non-random Chris Angelico <rosuav@gmail.com> - 2015-12-21 15:22 +1100
    Re: Catogorising strings into random versus non-random Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-12-21 19:57 +1100
    Re: Catogorising strings into random versus non-random Rick Johnson <rantingrickjohnson@gmail.com> - 2015-12-21 17:45 -0800
  Re: Catogorising strings into random versus non-random Peter Otten <__peter__@web.de> - 2015-12-21 09:24 +0100
    Re: Catogorising strings into random versus non-random Christian Gollwitzer <auriocus@gmx.de> - 2015-12-21 10:56 +0100
      Re: Catogorising strings into random versus non-random Steven D'Aprano <steve@pearwood.info> - 2015-12-21 21:36 +1100
        Re: Catogorising strings into random versus non-random Christian Gollwitzer <auriocus@gmx.de> - 2015-12-21 11:53 +0100
          Re: Catogorising strings into random versus non-random Christian Gollwitzer <auriocus@gmx.de> - 2015-12-21 11:56 +0100
  Re: Catogorising strings into random versus non-random Vlastimil Brom <vlastimil.brom@gmail.com> - 2015-12-21 14:25 +0100
  Re: Catogorising strings into random versus non-random Vincent Davis <vincent@vincentdavis.net> - 2015-12-21 07:51 -0600
  Re: Catogorising strings into random versus non-random duncan smith <duncan@invalid.invalid> - 2015-12-21 16:40 +0000
    Re: Catogorising strings into random versus non-random Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-21 09:49 -0700
      Re: Catogorising strings into random versus non-random duncan smith <duncan@invalid.invalid> - 2015-12-21 17:41 +0000
    Re: Catogorising strings into random versus non-random Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-12-21 17:09 +0000
  Re: Catogorising strings into random versus non-random Paul Rubin <no.email@nospam.invalid> - 2015-12-21 09:20 -0800

csiph-web