Permalink
Commits on Jun 7, 2016
Commits on May 25, 2016
  1. Merge pull request #1407 from geoffbacon/aline

    Kondrak's ALINE algorithm
    stevenbird committed May 25, 2016
  2. first commit of aline.py

    geoffbacon committed May 25, 2016
Commits on May 21, 2016
  1. Merge pull request #1402 from germanferrero/patch-1

    Fix conll.py
    stevenbird committed May 21, 2016
  2. Merge pull request #1403 from ColCarroll/docs/ngrams

    Docs/ngrams
    stevenbird committed May 21, 2016
Commits on May 20, 2016
  1. Add self to contributors

    ColCarroll committed May 20, 2016
  2. Update ngram documentation

    ColCarroll committed May 20, 2016
  3. Fix conll.py

    Change non-existent method call 'parse' with fromstring method on _get_parsed_sent.
    germanferrero committed May 20, 2016
Commits on May 9, 2016
  1. Merge pull request #1359 from piotrkasprzyk/pl196x_fixes

    Pl196x fixes
    stevenbird committed May 9, 2016
Commits on May 4, 2016
  1. Merge pull request #1386 from dnc1994/edit-dist-substitution-cost

    Allow specifying substitution cost in edit distance
    stevenbird committed May 4, 2016
Commits on May 3, 2016
Commits on Apr 26, 2016
  1. Merge pull request #1383 from nltk/alvations-patch-bleu

    Handles fringe cases in BLEU
    stevenbird committed Apr 26, 2016
Commits on Apr 25, 2016
  1. fix typo

    alvations committed Apr 25, 2016
  2. Stabilize BLEU to handle fringe cases

     - When initializing the Fraction object calculated by the `modified_precision()`, we set the denominator to 1 to handle ZeroDivisionError. This is consistent with the fact that when the reference is empty, any hypothesis to it would be superfluous hence they should be penalize to 0. 
    
    -  Additional condition to handle empty hypothesis. When hypothesis length is 0, there should be no score regardless of whether the reference is empty. By setting the brevity penalty to 0, we immediately cause the BLEU -> 0 since `BLEU = bp * smoothen(precisions)`.
    alvations committed Apr 25, 2016
Commits on Apr 24, 2016
  1. Merge pull request #1382 from nltk/collections

    Collections refactor
    stevenbird committed Apr 24, 2016
  2. add LazyIteratorList

    nschneid committed Apr 24, 2016
Commits on Apr 19, 2016
  1. Merge pull request #1368 from nltk/alvations-patch-generate

    Safer try-except for catching infinite recursion
    stevenbird committed Apr 19, 2016
Commits on Apr 18, 2016
  1. Merge pull request #1366 from nltk/alvations-patch-gacha

    Patch None TypeError in align_blocks()
    stevenbird committed Apr 18, 2016
  2. Patch None TypeError in align_blocks()

    Patching #1293 with additional checks for non-valid alignments and None backlinks.
    alvations committed Apr 18, 2016
  3. Merge pull request #1365 from nltk/alvations-patch-generate

    Raise warning for infinite recursion
    stevenbird committed Apr 18, 2016
  4. Raise warning for infinite recursion

    Patching #7
    Raises humanly-understandable warning for infinite recursion.
    alvations committed Apr 18, 2016
Commits on Apr 16, 2016
  1. Merge pull request #1364 from dennisobrien/issue1339-dispersion_plot

    moved the import for dispersion_plot out of the else block
    stevenbird committed Apr 16, 2016
  2. ISSUE-1339 - moved the import for dispersion_plot out of the else blo…

    …ck since it does not depend on tkinter.
    dennisobrien committed Apr 16, 2016
Commits on Apr 15, 2016
  1. date fix, resolves #1357

    stevenbird committed Apr 15, 2016
  2. Merge pull request #1362 from tanin47/tanin-fix-unicode-python3.2

    remove `u` because it doesn't work in Python 3.0 to 3.2
    stevenbird committed Apr 15, 2016
  3. remove u because it doesn't work in Python 3.0 to 3.2 and we don't re…

    …ally need it
    tanin-air committed Apr 15, 2016