BennyLauth / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

PlainTextConverter problem #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mediawiki2PlainText 
2. PlainTextConverter()
3.

What is the expected output? What do you see instead?

expected:
This animation moves at 10 frames per second.
Animation is the rapid display of a sequence of images of 2-D or 3-D artwork or 
model positions to create an illusion of movement. The effect is an optical 
illusion of motion due to the phenomenon of persistence of vision, and can be 
created and demonstrated in several ways.

what I see:
This animation moves at 10 frames per second.Animation is the rapid display of 
a sequence of images of 2-D or 3-D artwork or model positions to create an 
illusion of movement. The effect is an optical illusion of motion due to the 
phenomenon of persistence of vision, and can be created and demonstrated in 
several ways.

What version of the product are you using? On what operating system?
3.0.19

Please provide any additional information below.
I work on sentences in wikipedia, this tool attach end of the paragraphs with 
no space. So, I could not detect sentences because dot assume to use for 
abbreviation not end of sentence.

Original issue reported on code.google.com by nasrin.b...@gmail.com on 21 Oct 2012 at 8:17

GoogleCodeExporter commented 9 years ago
I'm not sure if I correctly understand the problem.
I committed r7450, which appends a space in the ContentToken#appendPlainText() 
method,
if the last character is a '.', '!' or '?'.

Note that I made the changes in the new directory:
  svn/branches/info.bliki.wiki/3.0/
If this is ok for you, it should also be ported to the new 3.1 version at:
  svn/trunk/info.bliki.wiki/ 

The snapshot jar bliki-core-3.0.20-SNAPSHOT.jar was generated in the known 
Maven folder:
http://code.google.com/p/gwtwiki/source/browse/#svn%2Fmaven-snapshot-repository%
2Finfo%2Fbliki%2Fwiki%2Fbliki-core%2F3.0.20-SNAPSHOT

Original comment by axelclk@gmail.com on 21 Oct 2012 at 11:58

GoogleCodeExporter commented 9 years ago
I back-ported the changes to trunk (3.1)

Original comment by nico.kru...@googlemail.com on 24 Oct 2012 at 3:02