Its a java
library to handle the twitter text. I got it installed, but no much look in using it in Processing. I looked at the JavaDoc, the source, but that is difficult to me... To understand... My goal would be to get indices from java text instead of from html text (&et;). This is what i got working and not... If some one could point me the way would be great!
ps. not sure if it should goes in Contributed Libraries, as is not a processing library, or General, or other Languages (java?)...
- String original = "Google hosting Android #event Monday Oct 29th in New York (@panzer / The Next Web) http://t.co/YQkJNHtL http://t.co/urd9Ns7H";
- // that works but i don't need it
- //Autolink al = new Autolink();
- //println(al.autoLink(original));
- // ok working
- Extractor extractor = new Extractor();
- List
extractorList = new ArrayList (); - //that Works but give me no indices...
- println(extractor.extractURLs(original));
- println(extractor.extractHashtags(original));
- //that works also but gives a Extractor.Entity
- // from where i could no tretrieve the start and end...
- println(extractor.extractHashtagsWithIndices(original));
- //if i try
- //extractor.extractHashtagsWithIndices(original).getStart();
- // sas getStart() does not exist, though it is in the source as a public function...
- // those are not in Javadoc, but in source. They dont work
- //extractorList = extractor.extractEntitiesWithIndices(original);
1