20961

How to parse sentence that is multilingual?

Question:

When I use Stanford Parser to parse sentences like: "Jirí Hubac 's script is a gem ." "Absorbing character study by André Turpin ."

It raise internal error.

How to deal with such situation that the sentence is multilingual?

Answer1:

Using the full Stanford CoreNLP toolkit available here:

<a href="http://stanfordnlp.github.io/CoreNLP/" rel="nofollow">http://stanfordnlp.github.io/CoreNLP/</a>

I ran this command:

java -Xmx6g -cp "stanford-corenlp-full-2015-12-09/*" edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit,pos,lemma,ner,parse -file example.txt -outputFormat text

It had no problem parsing your example sentence and the output can be found in the file: example.txt.out

Could you please provide the command you issued and the error you got when trying to run on this sentence?

Recommend

  • How to establish the codepoint of encoded characters?
  • Drupal 7 Internationalization / Multi language : redirect to default language if translation missing
  • Python or Java for text processing (text mining, information retrieval, natural language processing)
  • How to insert a text with special chars in mysql using codeigniter
  • Convert HTML entities and special characters to UTF8 text in PHP
  • How to create an HTML link in Dart?
  • ASP.NET MVC Drop Down List
  • Regular Expression to identify a Guid followed by a number
  • What is the difference between CacheStoreMode USE and REFRESH
  • Read a file in “chunks” using PHP
  • How to synchronize two scrollview in Android?
  • Many to Many in Linq using Dapper
  • How can I prevent the need to copy strings passed to a avr-gcc C++ constructor?
  • aapt.exe'' finished with non-zero exit value 1
  • Combining two different ActiveRecord collections into one
  • Android app gives error “BatteryStatsImpl: reading network stats”
  • Element.tagName for python not working
  • Odoo 10 - Overriding unlink method
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • MVC3 Razor - ListBox pre-select not working
  • SignalR .NET Client Invoke throws an exception
  • Optimizing database types to compact database (SQLite)
  • How do I fake an specific browser client when using Java's Net library?
  • JavaScriptCore crash on iOS9
  • Alternatives to the OPTIONAL fallback SPARQL pattern?
  • Do I've to free mysql result after storing it?
  • Google cloud sdk not working when python points python3
  • QuartzCore.framework for Mono Develop
  • Python - Map / Reduce - How do I read JSON specific field in using DISCO count words example
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • SVN: Merging two branches together
  • bootstrap to use multiple ng-app
  • Transpose CSV data with awk (pivot transformation)
  • How to get icons for entities from eclipse?
  • Hits per day in Google Big Query
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • Turn off referential integrity in Derby? is it possible?
  • Linking SubReports Without LinkChild/LinkMaster
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • JaxB to read class hierarchy