DmitryKey / simplenlg

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

LIST_ITEM type containing CoordinatedPhraseElement is not realised. #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create DocumentElement of type LIST
Repeat several times:
2. Add LIST_ITEM child.
3. Add CoordinatedPhraseElement as child of list item.

You get

*
*
*

I made a change to TextFormatter.java on the XMLWrapper branch that fixes the 
problem for me.

Please review this change.

Original issue reported on code.google.com by ChristopherCHowell@gmail.com on 12 Apr 2011 at 5:53

GoogleCodeExporter commented 9 years ago
https://simplenlg.googlecode.com/svn/branches/XMLWrapper_v1/src/simplenlg/format
/english/TextFormatter.java

Original comment by ChristopherCHowell@gmail.com on 12 Apr 2011 at 5:54

GoogleCodeExporter commented 9 years ago
Fixed. The TextFormatter needed to realise each coordinate of a coordinated 
phrase independently and then concatenate. Bug fix committed to TextFormatter; 
see tests in DocumentElementTest.testListItem().

Changes to the branch will be reviewed as part of the ongoing code review for 
the XML framework.

Original comment by bertug...@gmail.com on 14 Apr 2011 at 7:49