Free Support Forum - aspose.com

Not getting true word count of pdf file through pdf kit

hi All

I m using pdf.kit component for word count of pdf file my code is following

Dim lic As Aspose.Pdf.Kit.License = New Aspose.Pdf.Kit.License
lic.SetLicense(HttpContext.Current.Server.MapPath(“bin”).ToString + “\” + “Aspose.Custom.lic”)

Dim converter As Aspose.Pdf.Kit.PdfExtractor = New PdfExtractor
converter.BindPdf(file)
converter.Password = “”
Dim str As String = “”
converter.ExtractText()
'converter.GetText(“c:\txt.text”)
Return (converter.GetWordCount())


and i attach my file in which i m getting wrong word count. and true word count is 99
i get this word count 59

Hi,

Thank you for considering Aspose.

Asian languages such as Chinese are not supported in ExtractText(). This issue is logged as PDFKITNET-4088 but I am afraid we can’t support it in short time. Sorry for the inconvenience.

Hello thanks for reply

can you say me In this extractText which language is not supported

In the current version only English is supported well. Sorry we have not made this clear in the document. We will modify the document and work hard to support unicode ASAP.

The issues you have found earlier (filed as 4088) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.