Changeset 33587 for gs3-extensions/maori-lang-detection/src/org/greenstone/atea/MaoriTextDetector.java
- Timestamp:
- 2019-10-18T23:16:25+13:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/maori-lang-detection/src/org/greenstone/atea/MaoriTextDetector.java
r33586 r33587 69 69 * @param text: the string of text from which sentences in the requested 70 70 * language are to be identified and returned. 71 * @return an ArrayList of sentences in the text parameter that are 72 * in the requested language. 73 */ 74 public ArrayList<String> getAllSentencesInMaori(String text) throws Exception { 71 * @return an ArrayList where: 72 * - the first element is the total number of sentences in the text parameter 73 * - remaining elements are the sentences in the text parameter that were in the 74 * requested language. 75 */ 76 public ArrayList<String> getAllSentencesInMaori(String text) { 75 77 // big assumption here: that we can split incoming text into sentences 76 78 // for any language (using the MÄori language trained sentence model),
Note:
See TracChangeset
for help on using the changeset viewer.