| Package | Description |
|---|---|
| com.articulate.sigma |
Provides classes for the Sigma knowledge engineering environment version developed
at Articulate Software Inc.
|
| Modifier and Type | Method and Description |
|---|---|
static Hotel |
Hotel.convertJSON2Hotel(Hotel.JSONElement js) |
static Hotel |
Hotel.parseOneHotelPreviewFile(String fname) |
static Hotel |
Hotel.parseOneHotelReviewFile(String fname) |
static Hotel |
Hotel.parseOneJSONReviewFile(String fname) |
static Hotel |
Hotel.parseOneTHotelReviewFile(String fname) |
static Hotel |
Hotel.processOneOXMLHotel(Element h) |
static Hotel |
Hotel.processOneXMLHotel(Element e) |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<Hotel> |
Hotel.HotelDBImport(boolean w) |
static ArrayList<Hotel> |
Hotel.parseAllHotelReviewFiles(String fname)
Read hotel review files
|
static ArrayList<Hotel> |
Hotel.parseAllTHotelReviewFiles(String fname)
Read hotel review files
|
static ArrayList<Hotel> |
Hotel.readCSVHotels(String fname) |
static ArrayList<Hotel> |
Hotel.readJSONHotels(String dir,
boolean writeIncremental) |
static ArrayList<Hotel> |
Hotel.readOXMLhotels(String fname) |
static ArrayList<Hotel> |
Hotel.readXMLHotels(String fname)
Convert a particular XML markup into an array of hotels
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<String> |
Hotel.generateSUMOColumns(Hotel h,
ArrayList<String> SUMOheader) |
static void |
Hotel.matchHotels(Hotel feedHotel,
Hotel reviewsHotel) |
static void |
Hotel.oneHotelAmenitySentiment(Hotel h)
Compute concept sentiment and store as a side effect.
|
static void |
Hotel.parseHTMLAddress(Hotel h,
String addr)
Set address fields in the hotel as a side effect.
|
static void |
Hotel.writeHotelAsXML(Hotel h,
PrintWriter pw) |
| Modifier and Type | Method and Description |
|---|---|
static void |
DB.disambigReviews(ArrayList<Hotel> hotels) |
static ArrayList<String> |
Hotel.generateSUMOHeader(ArrayList<Hotel> hotels)
Collect all possible column names and assign them a number, then sort
on that frequency.
|
static void |
Hotel.hotelAmenitySentiment(ArrayList<Hotel> hotels)
Compute concept sentiment and store as a side effect.
|
static ArrayList<ArrayList<String>> |
Hotel.hotelReviewSUMOasSparseMatrix(ArrayList<Hotel> feed) |
static ArrayList<ArrayList<String>> |
Hotel.hotelReviewSUMOSentimentAsSparseMatrix(ArrayList<Hotel> feed,
boolean write) |
static void |
Hotel.hotelSentiment(ArrayList<Hotel> hotels) |
static void |
Hotel.mergeHotels(ArrayList<Hotel> feed,
ArrayList<Hotel> reviews) |
static void |
Hotel.mergeHotels(ArrayList<Hotel> feed,
ArrayList<Hotel> reviews) |
static void |
Hotel.printAllHotelAmenitySentiment(ArrayList<Hotel> hotels) |
static String |
Hotel.printAllHotels(ArrayList<Hotel> hotels) |
static void |
Hotel.setHotelWeights(ArrayList<Hotel> hotels)
Read a list of lists of Strings which is the original input plus
some extra columns for the weights of several "buckets", indicating
fitness with respect to a particular criterion.
|
static void |
DB.SUMOReviews(ArrayList<Hotel> reviews) |
static ArrayList<AVPair> |
DB.topSUMOInReviews(ArrayList<Hotel> reviews)
Excludes cases of where the mapping is to multiple SUMO terms
|
static HashMap<String,Integer> |
DB.wordSensesInReviews(ArrayList<Hotel> reviews) |
Copyright © 2015. All rights reserved.